secure_data_bag 2.0.9 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/chef/dsl/data_query.rb +2 -1
- data/lib/secure_data_bag/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2da6b7af2162746d0ce33058ca20ca79e3f144c6
|
4
|
+
data.tar.gz: 1c5edcb0b7190d48eff27cbf57c71490156b3dba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b50db275e770b0bf4677fc173601c64a4f6b0c7a0c41c299bfa221a8143a816666d2447215ed5291f6dd549797b82c1b645dd2ee51533af974df85706e19725d
|
7
|
+
data.tar.gz: f419a64f620860c6e6b3ef284de277ff17006ddf62ed9bae57d1ee072258b2f495cb702d37a356efe138d340e2960c194f04823bf04c6363cf0397e60e30018e
|
data/lib/chef/dsl/data_query.rb
CHANGED
@@ -4,7 +4,8 @@ class Chef
|
|
4
4
|
module DataQuery
|
5
5
|
def secure_data_bag_item(bag, item, cache: false)
|
6
6
|
data_bag_item = begin
|
7
|
-
node.run_state[:secure_data_bag]
|
7
|
+
node.run_state[:secure_data_bag] ||= {}
|
8
|
+
node.run_state[:secure_data_bag][bag] ||= {}
|
8
9
|
node.run_state[:secure_data_bag][bag][item]
|
9
10
|
end if cache
|
10
11
|
|