kitchen-puppet 1.46.3 → 1.47.0

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: 453a104e476a43094a963f5395d69e4654efe766
4
- data.tar.gz: 88bb2dde065c442d9c8658004f5802b277434530
3
+ metadata.gz: 427b698a2657828e326a4bb191dca6bfefbd085f
4
+ data.tar.gz: 9a6c2898f4b91a8e5156e6190e6cf8517e528be1
5
5
  SHA512:
6
- metadata.gz: 7f1049065ed3df321f857872606bf98ea10b8dd971fac43afccc4a14d8fbddc3d55671677979c94d453794b85fa5d93fcaf0865a2279adfda2a83045c0f1fb34
7
- data.tar.gz: d9fb9b6efaef7bcf2378641f698073f551ce18a931ede8941c33808f58fa4806ac3d28cb073c4d84310d5a2de6137dc855d1d814e220999cfc1b5e0744dc09f5
6
+ metadata.gz: ec848cd8a4345a9cde0f9a9f3d4131bf0bc0c9969713b62d82733d4d5758b2dc41a73ff9f489ceeef15a9fc2d4cb0edf51f3d5f3153c2dccdebe8da2667ea0d3
7
+ data.tar.gz: 9ec859b37ae7181e97139fe52ae389f357375aa51f36cbb9f4be628402cbd13910d915c8549e8a8c6a3395e2c2c0beeba6eee5506fccc1d96d20d08dff1f70aa
data/README.md CHANGED
@@ -76,6 +76,7 @@ There is windows/winrm support, currently not all functionality is supported.
76
76
 
77
77
  Sample Puppet Repositories
78
78
  * A sample hello world example puppet repository: https://github.com/neillturner/puppet_windows_repo
79
+ * A sample hello world example puppet repository for vagrant: https://github.com/neillturner/puppet_vagrant_windows_repo
79
80
  * A more extensive sample installing virtualbox on windows: https://github.com/red-gate/puppet-virtualbox_windows
80
81
 
81
82
  ## Test-Kitchen Serverspec
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Kitchen
4
4
  module Puppet
5
- VERSION = '1.46.3'.freeze
5
+ VERSION = '1.47.0'.freeze
6
6
  end
7
7
  end
@@ -140,6 +140,7 @@ module Kitchen
140
140
  default_config :puppet_debug, false
141
141
  default_config :puppet_verbose, false
142
142
  default_config :puppet_noop, false
143
+ default_config :puppet_show_diff, false
143
144
  default_config :platform, &:platform_name
144
145
  default_config :update_package_repos, true
145
146
  default_config :remove_puppet_repo, false
@@ -690,6 +691,7 @@ module Kitchen
690
691
  puppet_verbose_flag,
691
692
  puppet_debug_flag,
692
693
  puppet_logdest_flag,
694
+ puppet_show_diff_flag,
693
695
  puppet_whitelist_exit_code
694
696
  ].join(' ')
695
697
  if config[:custom_post_apply_command]
@@ -901,6 +903,10 @@ module Kitchen
901
903
  config[:puppet_verbose] ? '-v' : nil
902
904
  end
903
905
 
906
+ def puppet_show_diff_flag
907
+ config[:puppet_show_diff] ? '--show_diff' : nil
908
+ end
909
+
904
910
  def puppet_logdest_flag
905
911
  return nil unless config[:puppet_logdest]
906
912
  destinations = ''
@@ -64,10 +64,14 @@ max_retries| 1 | maximum number of retry attempts of converge command
64
64
  modules_path | | puppet repo manifests directory. Can be multiple directories separated by colons and then they will be merged
65
65
  platform | platform_name kitchen.yml parameter | OS platform of server
66
66
  puppet_apply_command | nil | Overwrite the puppet apply command. Needs "sudo -E puppet apply" as a prefix.
67
- puppet_apt_repo | "http://apt.puppetlabs.com/puppetlabs-release-precise.deb"| apt repo Ubuntu12
67
+ puppet_apt_repo | "http://apt.puppetlabs.com/puppetlabs-release-precise.deb"| apt repo Ubuntu12 see https://apt.puppetlabs.com for others
68
+ _for Ubuntu14 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-trusty.deb" |
68
69
  _for Ubuntu15 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-jessie.deb" |
70
+ _for Ubuntu16.04 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-xenial.deb" |
69
71
  puppet_apt_collections_repo | "http://apt.puppetlabs.com/puppetlabs-release-pc1-wheezy.deb" | apt collections repo
72
+ _for Ubuntu14 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-pc1-trusty.deb" |
70
73
  _for Ubuntu15 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-pc1-jessie.deb" |
74
+ _for Ubuntu16.04 change to_ | "http://apt.puppetlabs.com/puppetlabs-release-pc1-xenial.deb" |
71
75
  puppet_coll_remote_path | "/opt/puppetlabs" | Server Installation location of a puppet collections install.
72
76
  puppet_config_path | | path of custom puppet.conf file
73
77
  puppet_debug| false| Enable full debugging logging on puppet run
@@ -82,6 +86,7 @@ _for puppet v4 change to_ | https://raw.githubusercontent.com/ petems/puppet-ins
82
86
  puppet_noop| false| puppet runs in a no-op or dry-run mode
83
87
  puppet_no_sudo | false | allow puppet command to run without sudo if required
84
88
  puppet_verbose| false| Extra information logging on puppet run
89
+ puppet_show_diff| false| Show diffs for changes to config files during puppet runs.
85
90
  puppet_version | "latest"| desired version, affects apt installs.
86
91
  puppet_whitelist_exit_code | nil | Whitelist exit code expected from puppet run. Intended to be used together with `puppet_detailed_exitcodes`. You can also specify a yaml list here (you should use 0 and 2 for `puppet_detailed_exitcodes` to capture puppet runtime errors and allow multiple converge runs (without changes)).
87
92
  puppet_yum_repo | "https://yum.puppetlabs.com/puppetlabs-release-el-6.noarch.rpm"| yum repo RH/Centos6
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.46.3
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Neill Turner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-20 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: test-kitchen