simp-rspec-puppet-facts 2.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/LICENSE +1 -1
- data/facts/1.7/oraclelinux-6-x86_64.facts +386 -0
- data/facts/1.7/oraclelinux-7-x86_64.facts +385 -0
- data/facts/2.0/oraclelinux-6-x86_64.facts +579 -0
- data/facts/2.0/oraclelinux-7-x86_64.facts +594 -0
- data/facts/2.1/oraclelinux-6-x86_64.facts +591 -0
- data/facts/2.1/oraclelinux-7-x86_64.facts +612 -0
- data/facts/2.2/oraclelinux-6-x86_64.facts +624 -0
- data/facts/2.2/oraclelinux-7-x86_64.facts +645 -0
- data/facts/2.3/oraclelinux-6-x86_64.facts +625 -0
- data/facts/2.3/oraclelinux-7-x86_64.facts +646 -0
- data/facts/2.4/oraclelinux-6-x86_64.facts +625 -0
- data/facts/2.4/oraclelinux-7-x86_64.facts +646 -0
- data/facts/2.5/oraclelinux-6-x86_64.facts +625 -0
- data/facts/2.5/oraclelinux-7-x86_64.facts +646 -0
- data/facts/3.0/oraclelinux-6-x86_64.facts +768 -0
- data/facts/3.0/oraclelinux-7-x86_64.facts +800 -0
- data/facts/3.3/oraclelinux-6-x86_64.facts +803 -0
- data/facts/3.3/oraclelinux-7-x86_64.facts +835 -0
- data/facts/3.4/oraclelinux-6-x86_64.facts +806 -0
- data/facts/3.4/oraclelinux-7-x86_64.facts +838 -0
- data/facts/3.5/oraclelinux-6-x86_64.facts +821 -0
- data/facts/3.5/oraclelinux-7-x86_64.facts +911 -0
- data/facts/3.6/oraclelinux-6-x86_64.facts +822 -0
- data/facts/3.6/oraclelinux-7-x86_64.facts +912 -0
- data/facts/3.7/oraclelinux-6-x86_64.facts +814 -0
- data/facts/3.7/oraclelinux-7-x86_64.facts +904 -0
- data/facts/Vagrantfile +120 -58
- data/facts/scripts/gce_scrub_data.rb +5 -4
- data/facts/scripts/gce_scrub_data/centos-6-x86_64.scrub.yaml +1 -0
- data/facts/scripts/gce_scrub_data/centos-7-x86_64.scrub.yaml +1 -0
- data/facts/scripts/gce_scrub_data/oraclelinux-6-x86_64.scrub.yaml +1 -0
- data/facts/scripts/gce_scrub_data/oraclelinux-7-x86_64.scrub.yaml +1 -0
- data/facts/scripts/gce_scrub_data/redhat-7-x86_64.scrub.yaml +1 -0
- data/facts/scripts/get_facts_for_each_facter.sh +23 -5
- data/lib/simp/rspec-puppet-facts.rb +5 -6
- data/lib/simp/version.rb +1 -1
- data/spec/spec_helper.rb +2 -3
- metadata +73 -3
- data/facts/scripts/gce_scrub_data/centos-6-x86_64.scrub.yaml +0 -53
- data/facts/scripts/gce_scrub_data/centos-7-x86_64.scrub.yaml +0 -53
- data/facts/scripts/gce_scrub_data/redhat-7-x86_64.scrub.yaml +0 -53
data/facts/Vagrantfile
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
# -*- mode: ruby -*-
|
2
|
-
# vi: set ft=ruby :
|
3
|
-
|
4
|
-
|
5
1
|
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
|
6
2
|
VAGRANTFILE_API_VERSION = '2'
|
7
3
|
|
@@ -10,6 +6,37 @@ DEFAULT_GOOGLE_ZONE = 'us-east1-b'
|
|
10
6
|
|
11
7
|
VM_FQDN = 'foo.example.com'
|
12
8
|
|
9
|
+
GOOGLE_PROJECT_ID = ENV.fetch('GOOGLE_CLOUD_PROJECT_ID', nil)
|
10
|
+
|
11
|
+
unless GOOGLE_PROJECT_ID
|
12
|
+
$stderr.puts("Warning: GOOGLE_CLOUD_PROJECT_ID not set, will not use GCE")
|
13
|
+
end
|
14
|
+
|
15
|
+
VALID_OS_TYPES = [
|
16
|
+
'CENTOS',
|
17
|
+
'OEL',
|
18
|
+
'RHEL'
|
19
|
+
]
|
20
|
+
|
21
|
+
found_os = false
|
22
|
+
|
23
|
+
VALID_OS_TYPES.each do |os|
|
24
|
+
if ENV.fetch(os, nil)
|
25
|
+
found_os = true
|
26
|
+
break
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
unless found_os
|
31
|
+
$stderr.puts("Error: You must set one of ['#{VALID_OS_TYPES.join(', ')}'] as an environment variable to 'yes'")
|
32
|
+
exit 1
|
33
|
+
end
|
34
|
+
|
35
|
+
if Dir.glob('modules/*').empty?
|
36
|
+
$stderr.puts('No modules found in the "modules" directory. Hit ^C to exit or Enter to proceed.')
|
37
|
+
$stdin.gets
|
38
|
+
end
|
39
|
+
|
13
40
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
14
41
|
config.vm.hostname = VM_FQDN
|
15
42
|
|
@@ -24,44 +51,45 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
24
51
|
end
|
25
52
|
end
|
26
53
|
|
27
|
-
|
28
|
-
|
54
|
+
if GOOGLE_PROJECT_ID
|
55
|
+
# Reference: https://github.com/mitchellh/vagrant-google#configuration
|
56
|
+
config.vm.provider 'google' do |google, override|
|
29
57
|
|
30
|
-
|
31
|
-
|
58
|
+
# The Client Email address for your Service Account
|
59
|
+
google.google_project_id = ENV.fetch('GOOGLE_CLOUD_PROJECT_ID')
|
32
60
|
|
33
|
-
|
34
|
-
|
35
|
-
|
61
|
+
# The Client Email address for your Service Account
|
62
|
+
# (it should end with gserviceaccount.com)
|
63
|
+
google.google_client_email = ENV.fetch('GOOGLE_CLIENT_EMAIL')
|
36
64
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
65
|
+
if ENV.key? 'GOOGLE_KEY_LOCATION'
|
66
|
+
# The location of the P12 private key file matching your Service Account.
|
67
|
+
google.google__key_location = ENV['GOOGLE_KEY_LOCATION']
|
68
|
+
else
|
69
|
+
# The location of the JSON private key file matching your Service Account.
|
70
|
+
# "/path/to/your/private-key.json"
|
71
|
+
google.google_json_key_location = ENV.fetch('GOOGLE_JSON_KEY_LOCATION')
|
72
|
+
end
|
45
73
|
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
74
|
+
# The zone name where the instance will be created.
|
75
|
+
# Make sure to set this to trigger the zone_config
|
76
|
+
google.zone = _zone = ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE)
|
77
|
+
|
78
|
+
google.zone_config _zone do |zone|
|
79
|
+
# zone.name = 'vagrant-rspec-puppet-facts'
|
80
|
+
zone.machine_type = ENV['GOOGLE_MACHINE_TYPE'] || 'g1-small'
|
81
|
+
zone.zone = _zone
|
82
|
+
zone.metadata = {'custom' => 'metadata', 'testing' => 'foobarbaz'}
|
83
|
+
zone.scopes = ['monitoring', 'https://www.googleapis.com/auth/compute']
|
84
|
+
zone.tags = ['vagrant', 'simp-rspec-puppet-facts', 'temporary']
|
85
|
+
end
|
58
86
|
|
59
|
-
|
60
|
-
|
61
|
-
|
87
|
+
override.ssh.username = ENV.fetch('GOOGLE_SSH_USERNAME')
|
88
|
+
override.ssh.private_key_path = ENV.fetch('GOOGLE_SSH_KEY', '~/.ssh/id_rsa')
|
89
|
+
override.vm.box = 'google/gce'
|
90
|
+
end
|
62
91
|
end
|
63
92
|
|
64
|
-
|
65
93
|
# Optional: RHEL subscription information
|
66
94
|
#
|
67
95
|
# A licensed RHEL subscription is required to use yum to configure VMs, and
|
@@ -87,19 +115,22 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
87
115
|
# config.vm.synced_folder ".", "/vagrant", type: "rsync", rsync__exclude: ['.git/']
|
88
116
|
config.vm.synced_folder ".", "/vagrant", type: "virtualbox"
|
89
117
|
|
90
|
-
|
118
|
+
if ENV['CENTOS'] == 'yes'
|
91
119
|
config.vm.define "centos-6-x86_64" do |host|
|
92
120
|
host.vm.provider 'virtualbox' do |vb,override|
|
93
121
|
override.vm.box = "centos/6"
|
94
122
|
end
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
zone
|
123
|
+
|
124
|
+
if GOOGLE_PROJECT_ID
|
125
|
+
host.vm.provider 'google' do |google,override|
|
126
|
+
google.name = 'foo-centos6-64'
|
127
|
+
google.zone = ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE)
|
128
|
+
google.zone_config ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE) do |zone|
|
129
|
+
zone.image = 'centos-6-v20170717'
|
130
|
+
end
|
100
131
|
end
|
101
|
-
# override.vm.provision 'shell', inline: "/use/bin/hostname #{VM_FQDN}"
|
102
132
|
end
|
133
|
+
|
103
134
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
104
135
|
host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "'centos 6'"
|
105
136
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
|
@@ -109,13 +140,36 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
109
140
|
host.vm.provider 'virtualbox' do |vb,override|
|
110
141
|
override.vm.box = "centos/7"
|
111
142
|
end
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
zone
|
143
|
+
|
144
|
+
if GOOGLE_PROJECT_ID
|
145
|
+
host.vm.provider 'google' do |google,override|
|
146
|
+
google.name = 'foo-centos7-64'
|
147
|
+
google.zone = ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE)
|
148
|
+
google.zone_config ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE) do |zone|
|
149
|
+
zone.image = 'centos-7-v20170719'
|
150
|
+
end
|
117
151
|
end
|
118
|
-
|
152
|
+
end
|
153
|
+
|
154
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
155
|
+
host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "'centos 7'"
|
156
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
if ENV['OEL'] == 'yes'
|
161
|
+
config.vm.define "oel-6-x86_64" do |host|
|
162
|
+
host.vm.provider 'virtualbox' do |vb,override|
|
163
|
+
override.vm.box = "elastic/oel-6-x86_64"
|
164
|
+
end
|
165
|
+
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
166
|
+
host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "'centos 6'"
|
167
|
+
host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
|
168
|
+
end
|
169
|
+
|
170
|
+
config.vm.define "oel-7-x86_64" do |host|
|
171
|
+
host.vm.provider 'virtualbox' do |vb,override|
|
172
|
+
override.vm.box = "elastic/oel-7-x86_64"
|
119
173
|
end
|
120
174
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
121
175
|
host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "'centos 7'"
|
@@ -135,10 +189,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
135
189
|
override.vm.box = "anandbitra/redhat-6.5"
|
136
190
|
end
|
137
191
|
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
192
|
+
if GOOGLE_PROJECT_ID
|
193
|
+
host.vm.provider 'google' do |google,override|
|
194
|
+
google.zone = ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE)
|
195
|
+
google.zone_config ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE) do |zone|
|
196
|
+
zone.image = 'rhel-6-v20170717'
|
197
|
+
end
|
142
198
|
end
|
143
199
|
end
|
144
200
|
|
@@ -158,17 +214,23 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
|
158
214
|
host.vm.provider 'virtualbox' do |vb,override|
|
159
215
|
override.vm.box = "mrlesmithjr/rhel-7"
|
160
216
|
end
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
zone
|
217
|
+
|
218
|
+
if GOOGLE_PROJECT_ID
|
219
|
+
host.vm.provider 'google' do |google,override|
|
220
|
+
# google.name = 'foo'
|
221
|
+
google.zone = ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE)
|
222
|
+
google.zone_config ENV.fetch('GOOGLE_ZONE', DEFAULT_GOOGLE_ZONE) do |zone|
|
223
|
+
zone.image = 'rhel-7-v20170719'
|
224
|
+
end
|
166
225
|
end
|
167
226
|
end
|
227
|
+
|
168
228
|
host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
|
169
229
|
host.vm.provision "shell", path: "scripts/get_facts_for_each_facter.sh", args: "'#{os} #{ver}'"
|
170
230
|
host.vm.provision "shell", inline: "/sbin/shutdown -h now" unless ENV['SHUTDOWN'] == 'no'
|
171
231
|
end
|
172
|
-
|
173
232
|
end
|
174
233
|
end
|
234
|
+
|
235
|
+
# -*- mode: ruby -*-
|
236
|
+
# vi: set ft=ruby :
|
@@ -1,9 +1,7 @@
|
|
1
1
|
require 'yaml'
|
2
2
|
require 'json'
|
3
|
-
require 'deep_merge'
|
4
3
|
|
5
|
-
|
6
|
-
# A cowardly Heah merge that only overwrites keys that already exist
|
4
|
+
# A cowardly Heap merge that only overwrites keys that already exist
|
7
5
|
def creep_merge( j, o )
|
8
6
|
result = nil
|
9
7
|
if o.is_a? Hash
|
@@ -12,7 +10,10 @@ def creep_merge( j, o )
|
|
12
10
|
if j.is_a?(Hash)
|
13
11
|
unless j.key?(k)
|
14
12
|
warn "!!!!!!!!! WARNING NO key '#{k}'"
|
15
|
-
|
13
|
+
if ENV['PRY'] == 'yes'
|
14
|
+
require 'pry'
|
15
|
+
binding.pry
|
16
|
+
end
|
16
17
|
else
|
17
18
|
j[k] = creep_merge(j[k], o[k])
|
18
19
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
@@ -0,0 +1 @@
|
|
1
|
+
facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
@@ -0,0 +1 @@
|
|
1
|
+
facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
@@ -0,0 +1 @@
|
|
1
|
+
facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
@@ -0,0 +1 @@
|
|
1
|
+
facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
@@ -34,6 +34,8 @@ else
|
|
34
34
|
plabs_ver=$operatingsystem
|
35
35
|
fi
|
36
36
|
|
37
|
+
$rpm_cmd remove -y puppet* ||:
|
38
|
+
|
37
39
|
$rpm_cmd install -y --nogpgcheck "https://yum.puppetlabs.com/puppetlabs-release-pc1-${plabs_ver}-${operatingsystemmajrelease}.noarch.rpm"
|
38
40
|
$rpm_cmd install -y --nogpgcheck "https://yum.puppetlabs.com/puppetlabs-release-pc1-${plabs_ver}-${operatingsystemmajrelease}.noarch.rpm"
|
39
41
|
$rpm_cmd install -y https://yum.puppetlabs.com/puppet5/puppet5-release-${plabs_ver}-${operatingsystemmajrelease}.noarch.rpm
|
@@ -41,9 +43,13 @@ $rpm_cmd install -y https://yum.puppetlabs.com/puppet5/puppet5-release-${plabs_v
|
|
41
43
|
# Prereqs
|
42
44
|
$rpm_cmd install -y facter rubygem-bundler git augeas-devel \
|
43
45
|
libicu-devel libxml2 libxml2-devel libxslt libxslt-devel \
|
44
|
-
gcc gcc-c++ ruby-devel audit bind-utils net-tools
|
46
|
+
gcc gcc-c++ ruby-devel audit bind-utils net-tools rubygem-json
|
47
|
+
|
48
|
+
# Work around libcurl issues
|
49
|
+
$rpm_cmd update -y libcurl openssl nss
|
45
50
|
|
46
|
-
|
51
|
+
to_scrub='.to_scrub'
|
52
|
+
echo '' > $to_scrub
|
47
53
|
|
48
54
|
# Capture data for (c)facter 3.X
|
49
55
|
# *LTS* +2016.4
|
@@ -66,7 +72,7 @@ for puppet_agent_version in 1.2.2 1.5.3 1.7.2 1.8.3 1.10.4 5.0.1 ; do
|
|
66
72
|
|
67
73
|
/opt/puppetlabs/puppet/bin/facter gce --strict |&> /dev/null
|
68
74
|
if [ $? -eq 0 ]; then
|
69
|
-
|
75
|
+
echo "${output_dir}/${output_file}" >> $to_scrub
|
70
76
|
fi
|
71
77
|
done
|
72
78
|
|
@@ -74,11 +80,17 @@ operatingsystem=$( facter operatingsystem | tr '[:upper:]' '[:lower:]' )
|
|
74
80
|
operatingsystemmajrelease=$( facter operatingsystemmajrelease )
|
75
81
|
hardwaremodel=$( facter hardwaremodel )
|
76
82
|
|
77
|
-
|
83
|
+
$rpm_cmd remove -y puppet-agent ||:
|
78
84
|
|
79
85
|
export PUPPET_VERSION="~> 3.7"
|
80
86
|
|
81
|
-
#
|
87
|
+
# RVM Install for isolation
|
88
|
+
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
89
|
+
\curl -sSL https://get.rvm.io | bash -s stable
|
90
|
+
source /usr/local/rvm/scripts/rvm
|
91
|
+
rvm install 2.1.9
|
92
|
+
rvm use 2.1.9 --default
|
93
|
+
|
82
94
|
gem install bundler --no-ri --no-rdoc --no-format-executable
|
83
95
|
bundle install --path vendor/bundler
|
84
96
|
|
@@ -95,3 +107,9 @@ for version in 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 ; do
|
|
95
107
|
mkdir -p $( dirname $output_file )
|
96
108
|
FACTER_GEM_VERSION="~> ${version}" PUPPET_VERSION="~> 3.7" bundle exec ruby /vagrant/scripts/get_facts.rb | tee $output_file
|
97
109
|
done
|
110
|
+
|
111
|
+
for file in `cat $to_scrub`; do
|
112
|
+
if [ -f $file ]; then
|
113
|
+
bundle exec ruby /vagrant/scripts/gce_scrub_data.rb $file
|
114
|
+
fi
|
115
|
+
done
|
@@ -1,13 +1,12 @@
|
|
1
|
-
require 'json'
|
2
|
-
require 'puppet'
|
3
|
-
|
4
1
|
module Simp; end
|
5
2
|
module Simp::RspecPuppetFacts
|
3
|
+
require 'json'
|
4
|
+
require 'puppet'
|
5
|
+
|
6
6
|
require File.expand_path('version', File.dirname(__FILE__))
|
7
7
|
|
8
8
|
SELINUX_MODES = [:enforcing, :disabled, :permissive]
|
9
9
|
|
10
|
-
|
11
10
|
def supported_os_strings( opts )
|
12
11
|
supported_os = opts.fetch(:supported_os, RspecPuppetFacts.meta_supported_os)
|
13
12
|
hardwaremodels = opts.fetch(:hardwaremodels, ['x86_64'])
|
@@ -27,7 +26,7 @@ module Simp::RspecPuppetFacts
|
|
27
26
|
def filter_opts( opts, simp_h, filter_type = :reject )
|
28
27
|
rfh_hw = opts.fetch(:hardwaremodels, ['x86_64'])
|
29
28
|
rfh_os = opts.fetch(:supported_os, RspecPuppetFacts.meta_supported_os).dup
|
30
|
-
|
29
|
+
_os = rfh_os.send(filter_type) do |os|
|
31
30
|
_name = os['operatingsystem']
|
32
31
|
_rels = os['operatingsystemrelease'].send(filter_type) do |rel|
|
33
32
|
_hw = rfh_hw.send(filter_type) do |hw|
|
@@ -47,7 +46,7 @@ module Simp::RspecPuppetFacts
|
|
47
46
|
opts[:simp_fact_dir_path] ||= File.expand_path("../../facts/",
|
48
47
|
File.dirname(__FILE__))
|
49
48
|
|
50
|
-
|
49
|
+
simp_h = load_facts(opts[:simp_fact_dir_path])
|
51
50
|
strings = supported_os_strings(opts)
|
52
51
|
masked_opts = filter_opts(opts, simp_h, :reject)
|
53
52
|
selected_opts = filter_opts(opts, simp_h, :select)
|
data/lib/simp/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simp-rspec-puppet-facts
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Chris Tessmer
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-03-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec-puppet-facts
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: puppetlabs_spec_helper
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
28
42
|
- !ruby/object:Gem::Dependency
|
29
43
|
name: rake
|
30
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -126,54 +140,80 @@ files:
|
|
126
140
|
- Rakefile
|
127
141
|
- facts/1.7/centos-6-x86_64.facts
|
128
142
|
- facts/1.7/centos-7-x86_64.facts
|
143
|
+
- facts/1.7/oraclelinux-6-x86_64.facts
|
144
|
+
- facts/1.7/oraclelinux-7-x86_64.facts
|
129
145
|
- facts/1.7/redhat-6-x86_64.facts
|
130
146
|
- facts/1.7/redhat-7-x86_64.facts
|
131
147
|
- facts/2.0/centos-6-x86_64.facts
|
132
148
|
- facts/2.0/centos-7-x86_64.facts
|
149
|
+
- facts/2.0/oraclelinux-6-x86_64.facts
|
150
|
+
- facts/2.0/oraclelinux-7-x86_64.facts
|
133
151
|
- facts/2.0/redhat-6-x86_64.facts
|
134
152
|
- facts/2.0/redhat-7-x86_64.facts
|
135
153
|
- facts/2.1/centos-6-x86_64.facts
|
136
154
|
- facts/2.1/centos-7-x86_64.facts
|
155
|
+
- facts/2.1/oraclelinux-6-x86_64.facts
|
156
|
+
- facts/2.1/oraclelinux-7-x86_64.facts
|
137
157
|
- facts/2.1/redhat-6-x86_64.facts
|
138
158
|
- facts/2.1/redhat-7-x86_64.facts
|
139
159
|
- facts/2.2/centos-6-x86_64.facts
|
140
160
|
- facts/2.2/centos-7-x86_64.facts
|
161
|
+
- facts/2.2/oraclelinux-6-x86_64.facts
|
162
|
+
- facts/2.2/oraclelinux-7-x86_64.facts
|
141
163
|
- facts/2.2/redhat-6-x86_64.facts
|
142
164
|
- facts/2.2/redhat-7-x86_64.facts
|
143
165
|
- facts/2.3/centos-6-x86_64.facts
|
144
166
|
- facts/2.3/centos-7-x86_64.facts
|
167
|
+
- facts/2.3/oraclelinux-6-x86_64.facts
|
168
|
+
- facts/2.3/oraclelinux-7-x86_64.facts
|
145
169
|
- facts/2.3/redhat-6-x86_64.facts
|
146
170
|
- facts/2.3/redhat-7-x86_64.facts
|
147
171
|
- facts/2.4/centos-6-x86_64.facts
|
148
172
|
- facts/2.4/centos-7-x86_64.facts
|
173
|
+
- facts/2.4/oraclelinux-6-x86_64.facts
|
174
|
+
- facts/2.4/oraclelinux-7-x86_64.facts
|
149
175
|
- facts/2.4/redhat-6-x86_64.facts
|
150
176
|
- facts/2.4/redhat-7-x86_64.facts
|
151
177
|
- facts/2.5/centos-6-x86_64.facts
|
152
178
|
- facts/2.5/centos-7-x86_64.facts
|
179
|
+
- facts/2.5/oraclelinux-6-x86_64.facts
|
180
|
+
- facts/2.5/oraclelinux-7-x86_64.facts
|
153
181
|
- facts/2.5/redhat-6-x86_64.facts
|
154
182
|
- facts/2.5/redhat-7-x86_64.facts
|
155
183
|
- facts/3.0/centos-6-x86_64.facts
|
156
184
|
- facts/3.0/centos-7-x86_64.facts
|
185
|
+
- facts/3.0/oraclelinux-6-x86_64.facts
|
186
|
+
- facts/3.0/oraclelinux-7-x86_64.facts
|
157
187
|
- facts/3.0/redhat-6-x86_64.facts
|
158
188
|
- facts/3.0/redhat-7-x86_64.facts
|
159
189
|
- facts/3.3/centos-6-x86_64.facts
|
160
190
|
- facts/3.3/centos-7-x86_64.facts
|
191
|
+
- facts/3.3/oraclelinux-6-x86_64.facts
|
192
|
+
- facts/3.3/oraclelinux-7-x86_64.facts
|
161
193
|
- facts/3.3/redhat-6-x86_64.facts
|
162
194
|
- facts/3.3/redhat-7-x86_64.facts
|
163
195
|
- facts/3.4/centos-6-x86_64.facts
|
164
196
|
- facts/3.4/centos-7-x86_64.facts
|
197
|
+
- facts/3.4/oraclelinux-6-x86_64.facts
|
198
|
+
- facts/3.4/oraclelinux-7-x86_64.facts
|
165
199
|
- facts/3.4/redhat-6-x86_64.facts
|
166
200
|
- facts/3.4/redhat-7-x86_64.facts
|
167
201
|
- facts/3.5/centos-6-x86_64.facts
|
168
202
|
- facts/3.5/centos-7-x86_64.facts
|
203
|
+
- facts/3.5/oraclelinux-6-x86_64.facts
|
204
|
+
- facts/3.5/oraclelinux-7-x86_64.facts
|
169
205
|
- facts/3.5/redhat-6-x86_64.facts
|
170
206
|
- facts/3.5/redhat-7-x86_64.facts
|
171
207
|
- facts/3.6/centos-6-x86_64.facts
|
172
208
|
- facts/3.6/centos-7-x86_64.facts
|
209
|
+
- facts/3.6/oraclelinux-6-x86_64.facts
|
210
|
+
- facts/3.6/oraclelinux-7-x86_64.facts
|
173
211
|
- facts/3.6/redhat-6-x86_64.facts
|
174
212
|
- facts/3.6/redhat-7-x86_64.facts
|
175
213
|
- facts/3.7/centos-6-x86_64.facts
|
176
214
|
- facts/3.7/centos-7-x86_64.facts
|
215
|
+
- facts/3.7/oraclelinux-6-x86_64.facts
|
216
|
+
- facts/3.7/oraclelinux-7-x86_64.facts
|
177
217
|
- facts/3.7/redhat-6-x86_64.facts
|
178
218
|
- facts/3.7/redhat-7-x86_64.facts
|
179
219
|
- facts/Gemfile
|
@@ -182,6 +222,8 @@ files:
|
|
182
222
|
- facts/scripts/gce_scrub_data.rb
|
183
223
|
- facts/scripts/gce_scrub_data/centos-6-x86_64.scrub.yaml
|
184
224
|
- facts/scripts/gce_scrub_data/centos-7-x86_64.scrub.yaml
|
225
|
+
- facts/scripts/gce_scrub_data/oraclelinux-6-x86_64.scrub.yaml
|
226
|
+
- facts/scripts/gce_scrub_data/oraclelinux-7-x86_64.scrub.yaml
|
185
227
|
- facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
186
228
|
- facts/scripts/gce_scrub_data/redhat-7-x86_64.scrub.yaml
|
187
229
|
- facts/scripts/get_facts.rb
|
@@ -215,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
257
|
requirements:
|
216
258
|
- rspec-puppet-facts
|
217
259
|
rubyforge_project:
|
218
|
-
rubygems_version: 2.
|
260
|
+
rubygems_version: 2.7.6
|
219
261
|
signing_key:
|
220
262
|
specification_version: 4
|
221
263
|
summary: standard SIMP facts fixtures for Puppet
|
@@ -228,54 +270,80 @@ test_files:
|
|
228
270
|
- spec/spec_helper.rb
|
229
271
|
- facts/1.7/centos-6-x86_64.facts
|
230
272
|
- facts/1.7/centos-7-x86_64.facts
|
273
|
+
- facts/1.7/oraclelinux-6-x86_64.facts
|
274
|
+
- facts/1.7/oraclelinux-7-x86_64.facts
|
231
275
|
- facts/1.7/redhat-6-x86_64.facts
|
232
276
|
- facts/1.7/redhat-7-x86_64.facts
|
233
277
|
- facts/2.0/centos-6-x86_64.facts
|
234
278
|
- facts/2.0/centos-7-x86_64.facts
|
279
|
+
- facts/2.0/oraclelinux-6-x86_64.facts
|
280
|
+
- facts/2.0/oraclelinux-7-x86_64.facts
|
235
281
|
- facts/2.0/redhat-6-x86_64.facts
|
236
282
|
- facts/2.0/redhat-7-x86_64.facts
|
237
283
|
- facts/2.1/centos-6-x86_64.facts
|
238
284
|
- facts/2.1/centos-7-x86_64.facts
|
285
|
+
- facts/2.1/oraclelinux-6-x86_64.facts
|
286
|
+
- facts/2.1/oraclelinux-7-x86_64.facts
|
239
287
|
- facts/2.1/redhat-6-x86_64.facts
|
240
288
|
- facts/2.1/redhat-7-x86_64.facts
|
241
289
|
- facts/2.2/centos-6-x86_64.facts
|
242
290
|
- facts/2.2/centos-7-x86_64.facts
|
291
|
+
- facts/2.2/oraclelinux-6-x86_64.facts
|
292
|
+
- facts/2.2/oraclelinux-7-x86_64.facts
|
243
293
|
- facts/2.2/redhat-6-x86_64.facts
|
244
294
|
- facts/2.2/redhat-7-x86_64.facts
|
245
295
|
- facts/2.3/centos-6-x86_64.facts
|
246
296
|
- facts/2.3/centos-7-x86_64.facts
|
297
|
+
- facts/2.3/oraclelinux-6-x86_64.facts
|
298
|
+
- facts/2.3/oraclelinux-7-x86_64.facts
|
247
299
|
- facts/2.3/redhat-6-x86_64.facts
|
248
300
|
- facts/2.3/redhat-7-x86_64.facts
|
249
301
|
- facts/2.4/centos-6-x86_64.facts
|
250
302
|
- facts/2.4/centos-7-x86_64.facts
|
303
|
+
- facts/2.4/oraclelinux-6-x86_64.facts
|
304
|
+
- facts/2.4/oraclelinux-7-x86_64.facts
|
251
305
|
- facts/2.4/redhat-6-x86_64.facts
|
252
306
|
- facts/2.4/redhat-7-x86_64.facts
|
253
307
|
- facts/2.5/centos-6-x86_64.facts
|
254
308
|
- facts/2.5/centos-7-x86_64.facts
|
309
|
+
- facts/2.5/oraclelinux-6-x86_64.facts
|
310
|
+
- facts/2.5/oraclelinux-7-x86_64.facts
|
255
311
|
- facts/2.5/redhat-6-x86_64.facts
|
256
312
|
- facts/2.5/redhat-7-x86_64.facts
|
257
313
|
- facts/3.0/centos-6-x86_64.facts
|
258
314
|
- facts/3.0/centos-7-x86_64.facts
|
315
|
+
- facts/3.0/oraclelinux-6-x86_64.facts
|
316
|
+
- facts/3.0/oraclelinux-7-x86_64.facts
|
259
317
|
- facts/3.0/redhat-6-x86_64.facts
|
260
318
|
- facts/3.0/redhat-7-x86_64.facts
|
261
319
|
- facts/3.3/centos-6-x86_64.facts
|
262
320
|
- facts/3.3/centos-7-x86_64.facts
|
321
|
+
- facts/3.3/oraclelinux-6-x86_64.facts
|
322
|
+
- facts/3.3/oraclelinux-7-x86_64.facts
|
263
323
|
- facts/3.3/redhat-6-x86_64.facts
|
264
324
|
- facts/3.3/redhat-7-x86_64.facts
|
265
325
|
- facts/3.4/centos-6-x86_64.facts
|
266
326
|
- facts/3.4/centos-7-x86_64.facts
|
327
|
+
- facts/3.4/oraclelinux-6-x86_64.facts
|
328
|
+
- facts/3.4/oraclelinux-7-x86_64.facts
|
267
329
|
- facts/3.4/redhat-6-x86_64.facts
|
268
330
|
- facts/3.4/redhat-7-x86_64.facts
|
269
331
|
- facts/3.5/centos-6-x86_64.facts
|
270
332
|
- facts/3.5/centos-7-x86_64.facts
|
333
|
+
- facts/3.5/oraclelinux-6-x86_64.facts
|
334
|
+
- facts/3.5/oraclelinux-7-x86_64.facts
|
271
335
|
- facts/3.5/redhat-6-x86_64.facts
|
272
336
|
- facts/3.5/redhat-7-x86_64.facts
|
273
337
|
- facts/3.6/centos-6-x86_64.facts
|
274
338
|
- facts/3.6/centos-7-x86_64.facts
|
339
|
+
- facts/3.6/oraclelinux-6-x86_64.facts
|
340
|
+
- facts/3.6/oraclelinux-7-x86_64.facts
|
275
341
|
- facts/3.6/redhat-6-x86_64.facts
|
276
342
|
- facts/3.6/redhat-7-x86_64.facts
|
277
343
|
- facts/3.7/centos-6-x86_64.facts
|
278
344
|
- facts/3.7/centos-7-x86_64.facts
|
345
|
+
- facts/3.7/oraclelinux-6-x86_64.facts
|
346
|
+
- facts/3.7/oraclelinux-7-x86_64.facts
|
279
347
|
- facts/3.7/redhat-6-x86_64.facts
|
280
348
|
- facts/3.7/redhat-7-x86_64.facts
|
281
349
|
- facts/Gemfile
|
@@ -284,6 +352,8 @@ test_files:
|
|
284
352
|
- facts/scripts/gce_scrub_data.rb
|
285
353
|
- facts/scripts/gce_scrub_data/centos-6-x86_64.scrub.yaml
|
286
354
|
- facts/scripts/gce_scrub_data/centos-7-x86_64.scrub.yaml
|
355
|
+
- facts/scripts/gce_scrub_data/oraclelinux-6-x86_64.scrub.yaml
|
356
|
+
- facts/scripts/gce_scrub_data/oraclelinux-7-x86_64.scrub.yaml
|
287
357
|
- facts/scripts/gce_scrub_data/redhat-6-x86_64.scrub.yaml
|
288
358
|
- facts/scripts/gce_scrub_data/redhat-7-x86_64.scrub.yaml
|
289
359
|
- facts/scripts/get_facts.rb
|