shiplane_bootstrappers_chef 0.2.28 → 0.2.30
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6d29ad3a3a7434e9da97c867151a37ea34fc799a3f8884c225f9c11e1afe1bf
|
4
|
+
data.tar.gz: a47ed9a06d84af0f229f3380bc2d00862bcc88e325731bfdd66d216412697f8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3337a60fd53aedb6e479cc457b05a9539ded3262138bc28ee3e72a8b066c3888509ddc74054fc9e1558b42dd5df65460461572239f90e23efea0f0752ccf38d
|
7
|
+
data.tar.gz: 26a0266410e16eb63b1220de4829c990be5f9fa3ec871e84f9f96bf72fd86548223a7818e0ee3aed8590157b3e8a457218884c4deb09cc3a4d2ea5e3aa47995a
|
data/cookbooks.tar.gz
CHANGED
Binary file
|
data/lib/capistrano/chef_host.rb
CHANGED
@@ -66,12 +66,11 @@ module Shiplane
|
|
66
66
|
def configure
|
67
67
|
with_context do
|
68
68
|
errors = {}
|
69
|
-
SSHKit.config.default_env["CHEF_LICENSE"] = "accept"
|
70
69
|
SSHKit::Coordinator.new(host).each in: :parallel do |h|
|
71
70
|
context_variables = fetch(:shiplane_sshkit_values)
|
72
71
|
|
73
72
|
begin
|
74
|
-
execute :sudo, 'chef-solo', '-c', "#{Shiplane::ChefHost::REMOTE_CHEF_FOLDER_PATH}/solo.rb", interaction_handler: context_variables[:interaction_handler]
|
73
|
+
execute :sudo, 'chef-solo', '-c', "#{Shiplane::ChefHost::REMOTE_CHEF_FOLDER_PATH}/solo.rb", "--chef-license=accept", interaction_handler: context_variables[:interaction_handler]
|
75
74
|
rescue => e
|
76
75
|
errors["#{h}"] = Shiplane::ChefErrorParser.parse(e)
|
77
76
|
end
|
@@ -2,6 +2,8 @@ require 'rake'
|
|
2
2
|
require 'dotenv'
|
3
3
|
require 'open3'
|
4
4
|
|
5
|
+
require_relative '../../../../../lib/shiplane/safe_yaml_loading'
|
6
|
+
|
5
7
|
desc "Provision host"
|
6
8
|
task :provision, [:role, :username, :keypath] => ['provision:default']
|
7
9
|
|
@@ -200,7 +202,7 @@ class HostOptions
|
|
200
202
|
end
|
201
203
|
|
202
204
|
def config
|
203
|
-
@config ||=
|
205
|
+
@config ||= Shiplane::SafeYamlLoading.load_file(config_file_path)['capistrano']
|
204
206
|
end
|
205
207
|
|
206
208
|
def ssh_options
|
data/lib/chef/roles/docker.json
CHANGED
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.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Epperson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|