shiplane_bootstrappers_chef 0.2.28 → 0.2.29
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: 9def5cca2a7d41368c0ae8347861a095ceb69fd32ade66f7a437d7eede4c7625
|
4
|
+
data.tar.gz: b9d668bc9d26081eecc399afc465eafe79782e8a1e276d0be5c31deca7a1d55b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2995e49e01acc842baf2c5a2d9c6d4eec40ff4ba2c176f22fa0b7f2b14ea0b2f369707f34b1705c91672aa7146d658d57c40b3476c428f246ad7ab8752a2b5e9
|
7
|
+
data.tar.gz: 00f816f72c5e5a8f6696d8680955842193b66644c4b90eb335a0f49439fd9f63b73490f6c12349fc01f63b39a7561e81defd76357bf34b0e392395ad9a9b71ff
|
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.29
|
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
|