rspec-puppet-facts 1.1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/rspec-puppet-facts.rb +3 -1
- data/lib/rspec-puppet-facts/version.rb +1 -1
- data/rspec-puppet-facts.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4599b5a98abfc6e22e8605b168c66dc8bf6fba2
|
4
|
+
data.tar.gz: 6ad67f0836c7b98120907823022c10a5c8d092b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b447bddd07d0eb77cccee281755216f2fe63f656f6ce92d9f3af354568f90fb708e02a3e36bf6ea5347bc961abf91895b961a041b53bb248f71015281d28dc5f
|
7
|
+
data.tar.gz: acd5ec6986d3a2a53ae60b7cb88bd9da75c8f28d21d886f5464414ce6339d5835afd74a1d9feed664d9ff0ecfa467eacc243f7ef293e52e8d32f14b9361bdecb
|
data/CHANGELOG.md
CHANGED
data/lib/rspec-puppet-facts.rb
CHANGED
@@ -22,6 +22,7 @@ module RspecPuppetFacts
|
|
22
22
|
end
|
23
23
|
|
24
24
|
filter << {
|
25
|
+
:facterversion => "/^#{Facter.version[0..2]}/",
|
25
26
|
:operatingsystem => os_sup['operatingsystem'],
|
26
27
|
:operatingsystemrelease => "/^#{operatingsystemmajrelease.split(" ")[0]}/",
|
27
28
|
:hardwaremodel => hardwaremodel,
|
@@ -31,6 +32,7 @@ module RspecPuppetFacts
|
|
31
32
|
else
|
32
33
|
opts[:hardwaremodels].each do |hardwaremodel|
|
33
34
|
filter << {
|
35
|
+
:facterversion => "/^#{Facter.version[0..2]}/",
|
34
36
|
:operatingsystem => os_sup['operatingsystem'],
|
35
37
|
:hardwaremodel => hardwaremodel,
|
36
38
|
}
|
@@ -39,7 +41,7 @@ module RspecPuppetFacts
|
|
39
41
|
end
|
40
42
|
|
41
43
|
h = {}
|
42
|
-
FacterDB::
|
44
|
+
FacterDB::get_facts(filter).map do |facts|
|
43
45
|
facts.merge!({
|
44
46
|
:puppetversion => Puppet.version,
|
45
47
|
:rubyversion => RUBY_VERSION,
|
data/rspec-puppet-facts.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-puppet-facts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mickaël Canévet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mime-types
|
@@ -114,14 +114,14 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.
|
117
|
+
version: 0.3.0
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ">="
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
124
|
+
version: 0.3.0
|
125
125
|
description: Contains facts from many Facter version on many Operating Systems
|
126
126
|
email:
|
127
127
|
- mickael.canevet@camptocamp.com
|