sambot 0.1.143 → 0.1.145

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e3aa4f0ea76eb8b6060e2147078c14e653df59c
4
- data.tar.gz: 3f1de1803592a03fa8368c88b14d184cab4064ff
3
+ metadata.gz: a19d727a4fd4596073f9929e822078694d8631ea
4
+ data.tar.gz: ff54b2494b3ae0befa21296d45f19da0d1abaa72
5
5
  SHA512:
6
- metadata.gz: e462d21817e5c8cd06c4a80fb9834cf895c064b4ae55a43552bb4b545fd1620ee5b1cb3ffe251fbd070f355453b75379bd095f44c93d33b7555de7fd421c2b79
7
- data.tar.gz: d67e4515c2fa6e49d65abb4b9efb3edd3d23b0e283f6bf627235458de95b11fa488449f32fad99235721ba8c093a5270d796929ff52c0b936c7c58ef8300dd46
6
+ metadata.gz: 842e59c20d9bb51ce94096e4e70eb4a9617747a69da6bcf5a8fd9fbf59428c5861b623e982eeca1e3d75497d14df3b44bdb720d3b0ee75eac8ba958779723f08
7
+ data.tar.gz: aed86a230d13ae163777be8c9dbfdf2e3d09d15319a1797362d1e9036af89bda01153d26e7feb3159851c728dbcd7807b7b905e9e0d36a2ff7d1c005de7c3319
@@ -47,16 +47,16 @@ module Sambot
47
47
 
48
48
  def add_platform_identifier(value, platform)
49
49
  value['suites'].each do |config|
50
- params = handle_custom_suites(config, platform)
51
- params['attributes'] = params['attributes'] || {}
52
- params['attributes']['cloud_platform'] = platform
53
- params['attributes']['vault'] = params['attributes']['vault'] || {}
54
- params['attributes']['vault']['exec_renew'] = false
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['runlist']
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sambot
4
- VERSION = '0.1.143'.freeze
4
+ VERSION = '0.1.145'.freeze
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sambot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.143
4
+ version: 0.1.145
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olivier Kouame