rspec-puppet 2.6.10 → 2.6.11

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: 79d6d3a697c31a222aeeed78ed607388ea642626
4
- data.tar.gz: 22bcbe25913fcc858d11f4d5842525fd5f891dd9
3
+ metadata.gz: 07a2692f77f3f92e4102c513cfafdc76c448b244
4
+ data.tar.gz: adb38bf5c070207481b7c57de83f2fee7b467aad
5
5
  SHA512:
6
- metadata.gz: e4eb8e8725a5373c0b4fb965b0ac0804ec6003696f5e202cabf88240412b5fe35613a5613544ce22b3c31ce6a055b8463206d7b6c0cb13be427d1c4d812e68fb
7
- data.tar.gz: da2762a48d9cf1096c84eb01faf1595709a3bffb8cbb3b95128feb7f2c8e9a1527d8bfa8892cc1798f7342cb1f0c86145b3c5df2b522c9cdb3d3bced10f17104
6
+ metadata.gz: b7d43a327f6d8756fafcf5f5826a1e61d5f1e0fbe563114dd1f2008162581facc43e01b30176383471b5a773257e86c5b2380eb170b4ef40f11ad2d16b35a55a
7
+ data.tar.gz: 471744fbf1af0df7c91d62131fbd421276786e0a8be81e3f70fb885dc7d98963ce7888eb73645e154c4bf3c40cd7974419eb10d5608e8fd9c020f20193875a9a
@@ -2,6 +2,14 @@
2
2
  All notable changes to this project will be documented in this file. This
3
3
  project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [2.6.11]
6
+
7
+ ### Fixed
8
+
9
+ * The `server_facts` hash is now only built if
10
+ `RSpec.configuration.trusted_server_facts` is `true`. Previously, this was
11
+ always built but only used when enabled.
12
+
5
13
  ## [2.6.10]
6
14
 
7
15
  ### Fixed
@@ -400,10 +400,8 @@ module RSpec::Puppet
400
400
  },
401
401
  "Context for spec trusted hash"
402
402
  )
403
- end
404
403
 
405
- if Puppet::Util::Package.versioncmp(Puppet.version, '4.3.0') >= 0
406
- node_obj.add_server_facts(server_facts_hash)
404
+ node_obj.add_server_facts(server_facts_hash) if RSpec.configuration.trusted_server_facts
407
405
  end
408
406
 
409
407
  adapter.catalog(node_obj, exported)
@@ -17,6 +17,7 @@ task :release_test do
17
17
  'garethr/garethr-docker',
18
18
  'sensu/sensu-puppet',
19
19
  'jenkinsci/puppet-jenkins',
20
+ 'rnelson0/puppet-local_user',
20
21
  ]
21
22
 
22
23
  Bundler.with_clean_env do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-puppet
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.10
4
+ version: 2.6.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Sharpe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-06 00:00:00.000000000 Z
11
+ date: 2018-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec