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 +4 -4
- data/lib/capistrano/chef_host.rb +2 -1
- data/lib/shiplane/bootstrappers/chef/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2a82650dbc7581a8081209d2e2b4072400274b280d363f32406770ad46db82c
|
4
|
+
data.tar.gz: 249cbe09451e215eba1e7a68aa79fb88813cc82330b291276eac23582043687c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02646c1d22d4478848955fd5a32a1cc334c2db2fddca96b9f7b6799ac04de64d717f425e5fa2c25de384617083ab6d2e2e209817166ef4d9a8fb9a38089796db
|
7
|
+
data.tar.gz: 2c410072d32b857cb7df3b64cfe73fa88bb33ac340771e54d72eda174da3df7972c851614ccf3362e417aa2f563457fa4906799c5cee7c7ce18b7c9c4b7bf199
|
data/lib/capistrano/chef_host.rb
CHANGED
@@ -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",
|
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
|
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.
|
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-
|
11
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|