shiplane_bootstrappers_chef 0.2.2 → 0.2.6

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
  SHA256:
3
- metadata.gz: 1451a74466fca827914195ec0d3cc14ae82beeceb548bd4e1d99c2092c035446
4
- data.tar.gz: d81665d8edd1ddd696c2991776a53a3b89abf0ba55b2571dbba5148d6f61c711
3
+ metadata.gz: a2a82650dbc7581a8081209d2e2b4072400274b280d363f32406770ad46db82c
4
+ data.tar.gz: 249cbe09451e215eba1e7a68aa79fb88813cc82330b291276eac23582043687c
5
5
  SHA512:
6
- metadata.gz: d7da41d8aa8cc3c65fdb5b9f7b79420b4a6bcca1e17466719e090acc8810881e64c6ab0296f4b56d07b5b7d5bb84cfa4390f24cae0ac119109b09e178fb83047
7
- data.tar.gz: 65dd0b85a3db69e5ee288b7695bd0275579c04df3384c7daacc505be0a700b7caa4f4253116005a453846cceb5ea0fc82d8d9b1cdf303485711ed91ef1f2bafa
6
+ metadata.gz: 02646c1d22d4478848955fd5a32a1cc334c2db2fddca96b9f7b6799ac04de64d717f425e5fa2c25de384617083ab6d2e2e209817166ef4d9a8fb9a38089796db
7
+ data.tar.gz: 2c410072d32b857cb7df3b64cfe73fa88bb33ac340771e54d72eda174da3df7972c851614ccf3362e417aa2f563457fa4906799c5cee7c7ce18b7c9c4b7bf199
@@ -60,11 +60,12 @@ module Shiplane
60
60
  def configure
61
61
  with_context do
62
62
  errors = {}
63
+ SSHKit.config.default_env["CHEF_LICENSE"] = "accept"
63
64
  SSHKit::Coordinator.new(host).each in: :parallel do |h|
64
65
  context_variables = fetch(:shiplane_sshkit_values)
65
66
 
66
67
  begin
67
- execute :sudo, 'chef-solo', '-c', "#{Shiplane::ChefHost::REMOTE_CHEF_FOLDER_PATH}/solo.rb", "--chef-license", "accept", interaction_handler: context_variables[:interaction_handler]
68
+ execute :sudo, 'chef-solo', '-c', "#{Shiplane::ChefHost::REMOTE_CHEF_FOLDER_PATH}/solo.rb", interaction_handler: context_variables[:interaction_handler]
68
69
  rescue => e
69
70
  errors["#{h}"] = Shiplane::ChefErrorParser.parse(e)
70
71
  end
@@ -3,7 +3,7 @@
3
3
  module Shiplane
4
4
  module Bootstrappers
5
5
  module Chef
6
- VERSION = "0.2.2"
6
+ VERSION = "0.2.6"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shiplane_bootstrappers_chef
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Epperson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-18 00:00:00.000000000 Z
11
+ date: 2021-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano