shiplane_bootstrappers_chef 0.2.28 → 0.2.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 55683aeb97bd05556de2ca191bc0b48779ba06c5b45b0458a7c5f30cec0225ee
4
- data.tar.gz: f4d4c84740ed3b41a80da4aa315ddec2e87f8e42765d567b9cc0eb4d9afc4726
3
+ metadata.gz: 9def5cca2a7d41368c0ae8347861a095ceb69fd32ade66f7a437d7eede4c7625
4
+ data.tar.gz: b9d668bc9d26081eecc399afc465eafe79782e8a1e276d0be5c31deca7a1d55b
5
5
  SHA512:
6
- metadata.gz: 075ddfd6ff005d5c13dd0490359097a38489b407c8209ff9840b684f2e8ba59b7a5373b1f55ac80f7ca43e8b38ab24cdef5805bbb405b9dfa87e0cde9e492758
7
- data.tar.gz: 533dc11dce6a49b8847e7a61d5572376efdc6c152e719d61fe456ede73b2d83b2a074dd0b22fa653c6275ca11a6cd609c44f2aa3378aa685fef570a4fbffe0fd
6
+ metadata.gz: 2995e49e01acc842baf2c5a2d9c6d4eec40ff4ba2c176f22fa0b7f2b14ea0b2f369707f34b1705c91672aa7146d658d57c40b3476c428f246ad7ab8752a2b5e9
7
+ data.tar.gz: 00f816f72c5e5a8f6696d8680955842193b66644c4b90eb335a0f49439fd9f63b73490f6c12349fc01f63b39a7561e81defd76357bf34b0e392395ad9a9b71ff
data/cookbooks.tar.gz CHANGED
Binary file
@@ -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 ||= YAML.load(File.read(config_file_path))['capistrano']
205
+ @config ||= Shiplane::SafeYamlLoading.load_file(config_file_path)['capistrano']
204
206
  end
205
207
 
206
208
  def ssh_options
@@ -3,7 +3,9 @@
3
3
  "barebones-docker": {
4
4
  "ssl": true,
5
5
  "cert_path": "/etc/lego/certificates/",
6
- "docker": {},
6
+ "docker": {
7
+ "version": "27.3.1"
8
+ },
7
9
  "group": {
8
10
  "name": "docker"
9
11
  },
@@ -5,12 +5,6 @@
5
5
  },
6
6
  "json_class": "Chef::Role",
7
7
  "run_list": [
8
- "recipe[n2docker::default]"
9
8
  ],
10
9
  "chef_type": "role",
11
- "override_attributes": {
12
- "n2docker": {
13
- "version": "18.03.1"
14
- }
15
- }
16
10
  }
@@ -3,7 +3,7 @@
3
3
  module Shiplane
4
4
  module Bootstrappers
5
5
  module Chef
6
- VERSION = "0.2.28"
6
+ VERSION = "0.2.29"
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.28
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: 2023-12-20 00:00:00.000000000 Z
11
+ date: 2024-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano