kitchen-puppet 1.39.0 → 1.40.0

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
  SHA1:
3
- metadata.gz: cad0cbe145792a2fcf342705612af96281936da5
4
- data.tar.gz: 7d16b7aaeb91ab2f9131008d2e901e6161476f09
3
+ metadata.gz: f3bf23d544cce28417080196b8532a35bfe03ea0
4
+ data.tar.gz: c3116a06acf9cc36376d1910c4a50f3cc7001393
5
5
  SHA512:
6
- metadata.gz: 11ed24fe6cc60b777f5b60164a964751980cbbb45c6aad4ea159ef2740a6192169180404e06396ffcd973d00b60a78ef61dd24fd23cc634a8ba848b18d89aef0
7
- data.tar.gz: e408a68f06dabc580cd5e7856eb4697ce5d85d87a8549139762ce4c502ae46c399d775cb823283842ce1b31cce5ad8fc5a44751723b7804c9b80f1aee9b95b3e
6
+ metadata.gz: 101529029a4de2d421a6c733f3fa931b21afba40fd74fe5e3169f4bdbf9f813b101ee4f3d580486c7acc96ffe216ec847a29bf15bf2022af552d7e1ab1d39d14
7
+ data.tar.gz: c51038e83d6ad5e5a473e5fce4683c4da1b2fcedc2b34589cfc7093ca4f1a77cac22898cb89672e51781c4f7ebd4c7b92faa4d90ec3186878ea53110a9aa2863
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Puppet
5
- VERSION = '1.39.0'.freeze
5
+ VERSION = '1.40.0'.freeze
6
6
  end
7
7
  end
@@ -67,6 +67,7 @@ module Kitchen
67
67
  default_config :require_puppet_omnibus, false
68
68
  default_config :puppet_omnibus_url, 'https://raw.githubusercontent.com/petems/puppet-install-shell/master/install_puppet.sh'
69
69
  default_config :puppet_enc, nil
70
+ default_config :ignore_spec_fixtures, false
70
71
 
71
72
  default_config :puppet_apply_command, nil
72
73
 
@@ -1061,7 +1062,8 @@ module Kitchen
1061
1062
  tmp_spec_dir = File.join(sandbox_path, 'spec')
1062
1063
  debug("Copying specs from #{spec_files_path} to #{tmp_spec_dir}")
1063
1064
  FileUtils.mkdir_p(tmp_spec_dir)
1064
- FileUtils.cp_r(Dir.glob("#{spec_files_path}/*"), tmp_spec_dir)
1065
+ FileUtils.cp_r(Dir.glob(File.join(spec_files_path, '*')).reject { |entry| entry =~ /fixtures$/ }, tmp_spec_dir) if config[:ignore_spec_fixtures]
1066
+ FileUtils.cp_r(Dir.glob("#{spec_files_path}/*"), tmp_spec_dir) unless config[:ignore_spec_fixtures]
1065
1067
  end
1066
1068
 
1067
1069
  def resolve_with_librarian
@@ -177,7 +177,7 @@ puppet_agent_command | nil | Overwrite the puppet agent command. Needs "sudo -E
177
177
  require_chef_for_busser | true | Install chef as currently needed by busser to run tests. NOTE: kitchen 1.4 only requires ruby to run busser so this is not required.
178
178
  puppet_config_path | | path of custom puppet.conf file
179
179
  http_proxy | nil | use http proxy when installing puppet and packages
180
-
180
+ ignore_spec_fixtures | | ignore spec/fixtures directory
181
181
 
182
182
  NOTE: Puppet Collections Support not in puppet agent yet
183
183
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.39.0
4
+ version: 1.40.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner