kitchen-puppet 1.41.1 → 1.41.2

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
  SHA1:
3
- metadata.gz: dfbb9d43909064f8a3d23a2b2940c3f8da3f2add
4
- data.tar.gz: fd59893a94585b10e56d08c7375fa1a39ddbc306
3
+ metadata.gz: 6dbe5a750961480b25b70cd74d6ab05796e6355b
4
+ data.tar.gz: bb15571c38838b652c8ba309e0fde0c75f6da43e
5
5
  SHA512:
6
- metadata.gz: 4c7c76cdb66119b2d684a58eb27d2d5d40f734194ccdf17d6684113504b1c5bdd67e0e171e6237816f0f4c244ddb0baf53bf2078588220ae44eeae487263fa11
7
- data.tar.gz: 8984c7633577b51f0d5d0e62a47d15c918d69641885e9df50dd990f695bc34bc2a53ffa601a0cfb7a1511a1fd092ce3423991d20f6a5bed0a97f0b1f0d7a3dc0
6
+ metadata.gz: e247b9d82f720187f98b11515ca3897607fda13da0ed00a1a4aaef809b107581bcdfbbe46ee9694a3f67a94b6316dfaef2572fcc30b693a3e615a3b45ca39ddb
7
+ data.tar.gz: de6688aea3aa084d0e7b6efd6c70f87868bf99a9d2b38e503208c7647015e47c06a03a83721505728467a49894377f11dfa7fec4ba75b6b05d27c3e3dc3378b2
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Puppet
5
- VERSION = '1.41.1'.freeze
5
+ VERSION = '1.41.2'.freeze
6
6
  end
7
7
  end
@@ -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] ? '--node_terminus=exec --external_nodes=/tmp/kitchen/enc' : nil
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
@@ -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.1
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-05-23 00:00:00.000000000 Z
11
+ date: 2016-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen