beaker-puppet 1.28.0 → 1.29.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
  SHA256:
3
- metadata.gz: cf21a6b7afe882c94b17c6ff55239532021394e4c46daa0fb29918b9b3e7eece
4
- data.tar.gz: 5cf422b3b4d6af2d003a9fa33ab27dbb04f5064c485292825bd856dfbfb634c2
3
+ metadata.gz: 1d22580f573383c2d14f8c340936f3011cd4aa22a3f68c7d3d7e212ee000b5a4
4
+ data.tar.gz: 43ca75a56533ea39da64b84808c1559ce392b9e9b5cd7ba7bbb019b809a9a875
5
5
  SHA512:
6
- metadata.gz: 9de708d504b6a7a337d796320eebbd79854cde88ab97154d6e8e5efbb8a107b0ad8be0a4fcc3590a8435c33653f29b6d0be4afd2876e1062ca2fab30a289619c
7
- data.tar.gz: b3954ddbeab7c58c627276564b2001859707e3f266e72ddbce104e33e2390d7aa9b000e9f687b29e415b9725c814d982604c05e0b0f34fa2fe6af2fdc73d68b9
6
+ metadata.gz: c272d6d40f9050bbef35f36db0972e6e6becc53af61b0870b2b8b53756ad83a68e9e4a761dc91835056c7ac3a3e46348aad35fb7aab06db4cbaea4a2314ca7ff
7
+ data.tar.gz: 189fd8c32eb885429d14cfa146687619610ef40460e6f6e7fb4f5553d1673574ba0bc9c53fa06cb77cbc9209b1e03ab9d9ca9bbbf29061efa8474f6fa7d671c3
data/CHANGELOG.md CHANGED
@@ -2,6 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [1.29.0](https://github.com/voxpupuli/beaker-puppet/tree/1.29.0) (2022-11-02)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.28.0...1.29.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Introduce BEAKER\_PUPPET\_DEBUG env var [\#197](https://github.com/voxpupuli/beaker-puppet/pull/197) ([ekohl](https://github.com/ekohl))
12
+
13
+ **Fixed bugs:**
14
+
15
+ - \(maint\) Fix DigiCert root cert to match fully patched Solaris 11.4 [\#202](https://github.com/voxpupuli/beaker-puppet/pull/202) ([yachub](https://github.com/yachub))
16
+
17
+ **Merged pull requests:**
18
+
19
+ - \(maint\) Uses RFC 5737 IP space in example [\#200](https://github.com/voxpupuli/beaker-puppet/pull/200) ([mhashizume](https://github.com/mhashizume))
20
+
5
21
  ## [1.28.0](https://github.com/voxpupuli/beaker-puppet/tree/1.28.0) (2022-09-08)
6
22
 
7
23
  [Full Changelog](https://github.com/voxpupuli/beaker-puppet/compare/1.27.0...1.28.0)
data/README.md CHANGED
@@ -41,6 +41,23 @@ require 'beaker-puppet'
41
41
  Doing this will include (automatically) the beaker-puppet DSL methods in the
42
42
  beaker DSL. Then you can call beaker-puppet methods, exactly as you did before.
43
43
 
44
+ ## Running Puppet in debug mode
45
+
46
+ When using `apply_manifest` to run Puppet, it is common that you need debug
47
+ output. To achieve this, the debug option can be passed.
48
+
49
+ ```ruby
50
+ apply_manifest_on(host, manifest, { debug: true })
51
+ ```
52
+
53
+ This has the downside that Puppet always runs in debug mode, which is very
54
+ verbose. Of course you can modify the spec, but that's tedious. An easier
55
+ alternative is to use the environment variable `BEAKER_PUPPET_DEBUG`.
56
+
57
+ ```sh
58
+ BEAKER_PUPPET_DEBUG=1 rspec spec/acceptance/my_spec.rb
59
+ ```
60
+
44
61
  # How Do I Test This?
45
62
 
46
63
  ### Unit / Spec Testing
@@ -459,7 +459,7 @@ module Beaker
459
459
  on_options[:acceptable_exit_codes] = Array(opts[:acceptable_exit_codes])
460
460
 
461
461
  puppet_apply_opts = {}
462
- if opts[:debug]
462
+ if opts[:debug] || ENV['BEAKER_PUPPET_DEBUG']
463
463
  puppet_apply_opts[:debug] = nil
464
464
  else
465
465
  puppet_apply_opts[:verbose] = nil
@@ -1,3 +1,3 @@
1
1
  module BeakerPuppet
2
- VERSION = '1.28.0'
2
+ VERSION = '1.29.0'
3
3
  end
@@ -72,10 +72,10 @@ EOM
72
72
 
73
73
  hosts.each do |host|
74
74
  next unless host.platform =~ /solaris-11(\.2)?-(i386|sparc)/
75
- create_remote_file(host, "DigiCertTrustedRootG4.crt.pem", DigiCert)
76
- on(host, 'chmod a+r /root/DigiCertTrustedRootG4.crt.pem')
77
- on(host, 'cp -p /root/DigiCertTrustedRootG4.crt.pem /etc/certs/CA/')
78
- on(host, 'rm /root/DigiCertTrustedRootG4.crt.pem')
75
+ create_remote_file(host, "DigiCert_Trusted_Root_G4.pem", DigiCert)
76
+ on(host, 'chmod a+r /root/DigiCert_Trusted_Root_G4.pem')
77
+ on(host, 'cp -p /root/DigiCert_Trusted_Root_G4.pem /etc/certs/CA/')
78
+ on(host, 'rm /root/DigiCert_Trusted_Root_G4.pem')
79
79
 
80
80
  if host.platform=~ /solaris-11-sparc/
81
81
  create_remote_file(host, "USERTrust_RSA_Certification_Authority.pem", USERTrust)
data/tasks/ci.rake CHANGED
@@ -110,8 +110,8 @@ SERVER:
110
110
 
111
111
  $project_SERVER:
112
112
  Similar to SERVER, but project specific. If you have only one project (i.e., hiera) that you
113
- want to pull from a different server then all the others, you could set HIERA_SERVER=179.0.0.1,
114
- and you would get back 'https://179.0.0.1/puppetlabs-hiera.git'.
113
+ want to pull from a different server then all the others, you could set HIERA_SERVER=192.0.2.1,
114
+ and you would get back 'https://192.0.2.1/puppetlabs-hiera.git'.
115
115
 
116
116
  RUNTIME_BRANCH:
117
117
  Currently only used with git-based testing. This must correspond to a branch in the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.28.0
4
+ version: 1.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-08 00:00:00.000000000 Z
11
+ date: 2022-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec