kitchen-puppet 1.41.1 → 1.41.2
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 +4 -4
- data/lib/kitchen-puppet/version.rb +1 -1
- data/lib/kitchen/provisioner/puppet_apply.rb +3 -3
- data/provisioner_options.md +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6dbe5a750961480b25b70cd74d6ab05796e6355b
|
|
4
|
+
data.tar.gz: bb15571c38838b652c8ba309e0fde0c75f6da43e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e247b9d82f720187f98b11515ca3897607fda13da0ed00a1a4aaef809b107581bcdfbbe46ee9694a3f67a94b6316dfaef2572fcc30b693a3e615a3b45ca39ddb
|
|
7
|
+
data.tar.gz: de6688aea3aa084d0e7b6efd6c70f87868bf99a9d2b38e503208c7647015e47c06a03a83721505728467a49894377f11dfa7fec4ba75b6b05d27c3e3dc3378b2
|
|
@@ -415,7 +415,7 @@ module Kitchen
|
|
|
415
415
|
end
|
|
416
416
|
|
|
417
417
|
def init_command
|
|
418
|
-
dirs = %w(modules manifests files hiera hiera.yaml facter spec)
|
|
418
|
+
dirs = %w(modules manifests files hiera hiera.yaml facter spec enc)
|
|
419
419
|
.map { |dir| File.join(config[:root_path], dir) }.join(' ')
|
|
420
420
|
cmd = "#{sudo('rm')} -rf #{dirs} #{hiera_data_remote_path} \
|
|
421
421
|
/etc/hiera.yaml #{puppet_dir}/hiera.yaml \
|
|
@@ -825,7 +825,7 @@ module Kitchen
|
|
|
825
825
|
end
|
|
826
826
|
|
|
827
827
|
def puppet_enc_flag
|
|
828
|
-
config[:puppet_enc] ?
|
|
828
|
+
config[:puppet_enc] ? "--node_terminus=exec --external_nodes=#{config[:root_path]}/enc/#{File.basename(config[:puppet_enc])}" : nil
|
|
829
829
|
end
|
|
830
830
|
|
|
831
831
|
def puppet_detailed_exitcodes_flag
|
|
@@ -1040,7 +1040,7 @@ module Kitchen
|
|
|
1040
1040
|
info 'Copying enc file'
|
|
1041
1041
|
enc_dir = File.join(sandbox_path, 'enc')
|
|
1042
1042
|
FileUtils.mkdir_p(enc_dir)
|
|
1043
|
-
FileUtils.cp_r(config[:puppet_enc], enc_dir)
|
|
1043
|
+
FileUtils.cp_r(config[:puppet_enc], File.join(enc_dir, '/'))
|
|
1044
1044
|
end
|
|
1045
1045
|
|
|
1046
1046
|
def prepare_hiera_config
|
data/provisioner_options.md
CHANGED
|
@@ -62,6 +62,7 @@ puppet_omnibus_url | https://raw.githubusercontent.com/ petems/puppet-install-sh
|
|
|
62
62
|
_for puppet v4 change to_ | https://raw.githubusercontent.com/ petems/puppet-install-shell/ master/install_puppet_agent.sh |
|
|
63
63
|
puppet_enc | | path for external node classifier script
|
|
64
64
|
puppet_no_sudo | false | allow puppet command to run without sudo if required
|
|
65
|
+
ignore_spec_fixtures | false | don't copy spec/fixtures to avoid problems with symlinks
|
|
65
66
|
ignored_paths_from_root | [] | allow extra paths to be ignored when copying from puppet repository
|
|
66
67
|
|
|
67
68
|
## Puppet Apply Configuring Provisioner Options
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: kitchen-puppet
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.41.
|
|
4
|
+
version: 1.41.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Neill Turner
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: test-kitchen
|