sambot 0.1.143 → 0.1.145
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/sambot/chef/kitchen.rb +6 -6
- data/lib/sambot/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: a19d727a4fd4596073f9929e822078694d8631ea
|
4
|
+
data.tar.gz: ff54b2494b3ae0befa21296d45f19da0d1abaa72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 842e59c20d9bb51ce94096e4e70eb4a9617747a69da6bcf5a8fd9fbf59428c5861b623e982eeca1e3d75497d14df3b44bdb720d3b0ee75eac8ba958779723f08
|
7
|
+
data.tar.gz: aed86a230d13ae163777be8c9dbfdf2e3d09d15319a1797362d1e9036af89bda01153d26e7feb3159851c728dbcd7807b7b905e9e0d36a2ff7d1c005de7c3319
|
data/lib/sambot/chef/kitchen.rb
CHANGED
@@ -47,16 +47,16 @@ module Sambot
|
|
47
47
|
|
48
48
|
def add_platform_identifier(value, platform)
|
49
49
|
value['suites'].each do |config|
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
50
|
+
config['run_list'] = handle_customized_runlists(config, platform)
|
51
|
+
config['attributes'] = config['attributes'] || {}
|
52
|
+
config['attributes']['cloud_platform'] = platform
|
53
|
+
config['attributes']['vault'] = config['attributes']['vault'] || {}
|
54
|
+
config['attributes']['vault']['exec_renew'] = false
|
55
55
|
end
|
56
56
|
end
|
57
57
|
|
58
58
|
def handle_customized_runlists(config, platform)
|
59
|
-
runlist = config['
|
59
|
+
runlist = config['run_list']
|
60
60
|
return runlist if runlist.is_a?(Array)
|
61
61
|
platform == 'LOCAL' ? runlist['local'] : runlist['dev']
|
62
62
|
end
|
data/lib/sambot/version.rb
CHANGED