facterdb 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -165,6 +165,31 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
165
165
  host.vm.provision "shell", path: "get_facts.sh"
166
166
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
167
167
  end
168
+ config.vm.define "opensuse-13.2-x86_64" do |host|
169
+ host.vm.box = "opensuse/openSUSE-13.2-x86_64"
170
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
171
+ host.vm.provision "shell", path: "get_facts.sh"
172
+ end
173
+ config.vm.define "opensuse-42.1-x86_64" do |host|
174
+ host.vm.box = "opensuse/openSUSE-42.1-x86_64"
175
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
176
+ host.vm.provision "shell", path: "get_facts.sh"
177
+ end
178
+ config.vm.define "opensuse-42.2-x86_64" do |host|
179
+ host.vm.box = "opensuse/openSUSE-42.2-x86_64"
180
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
181
+ host.vm.provision "shell", path: "get_facts.sh"
182
+ end
183
+ config.vm.define "opensuse-42.3-x86_64" do |host|
184
+ host.vm.box = "opensuse/openSUSE-42.3-x86_64"
185
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
186
+ host.vm.provision "shell", path: "get_facts.sh"
187
+ end
188
+ config.vm.define "opensuse-Tumbleweed-x86_64" do |host|
189
+ host.vm.box = "opensuse/openSUSE-Tumbleweed-x86_64"
190
+ host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
191
+ host.vm.provision "shell", path: "get_facts.sh"
192
+ end
168
193
  config.vm.define "freebsd-11-x86_64" do |host|
169
194
  host.vm.box = "bento/freebsd-11.1"
170
195
  host.ssh.shell = '/bin/sh'
@@ -2,7 +2,11 @@
2
2
 
3
3
  export PATH=/opt/puppetlabs/bin:$PATH
4
4
 
5
- if test -f /usr/bin/apt-get; then
5
+ if test -f /usr/bin/zypper; then
6
+ zypper --non-interactive --gpg-auto-import-keys refresh
7
+ zypper --non-interactive install ruby-devel
8
+ osfamily='Suse'
9
+ elif test -f /usr/bin/apt-get; then
6
10
  apt-get update
7
11
  apt-get install -y lsb-release
8
12
  lsbdistcodename=$(lsb_release -sc)
@@ -67,6 +71,27 @@ case "${osfamily}" in
67
71
  mkdir -p $(dirname ${output_file})
68
72
  [ ! -f ${output_file} ] && facter --show-legacy -p -j | tee ${output_file}
69
73
  ;;
74
+ 'Suse')
75
+ if [[ `cat /etc/os-release |grep -e '^VERSION="42' -c` == 1 ]]; then
76
+ # This is Leap which is based on SLES 12
77
+ rpm -Uvh https://yum.puppet.com/puppetlabs-release-pc1-sles-12.noarch.rpm
78
+ zypper --gpg-auto-import-keys --non-interactive refresh
79
+ for puppet_agent_version in 1.6.2 1.7.2 1.8.3 1.9.3 1.10.8; do
80
+ zypper --non-interactive install puppet-agent-${puppet_agent_version}
81
+ output_file="/vagrant/$(facter --version | cut -c1-3)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
82
+ mkdir -p $(dirname ${output_file})
83
+ facter --show-legacy -p -j | tee ${output_file}
84
+ done
85
+ zypper --non-interactive remove puppetlabs-release-pc1
86
+ rpm -Uvh https://yum.puppet.com/puppet5/puppet5-release-sles-12.noarch.rpm
87
+ for puppet_agent_version in 5.0.1 5.1.0 5.2.0 5.3.2; do
88
+ zypper --non-interactive install puppet-agent-${puppet_agent_version}
89
+ output_file="/vagrant/$(facter --version | cut -c1-3)/$(facter operatingsystem | tr '[:upper:]' '[:lower:]')-$(facter operatingsystemmajrelease)-$(facter hardwaremodel).facts"
90
+ mkdir -p $(dirname ${output_file})
91
+ facter --show-legacy -p -j | tee ${output_file}
92
+ done
93
+ fi
94
+ ;;
70
95
  esac
71
96
 
72
97
  operatingsystem=$(facter operatingsystem | tr '[:upper:]' '[:lower:]')
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '0.4.1'
3
+ STRING = '0.5.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: facterdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.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: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2017-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls
@@ -156,6 +156,7 @@ files:
156
156
  - facts/1.6/fedora-24-x86_64.facts
157
157
  - facts/1.6/freebsd-10-i386.facts
158
158
  - facts/1.6/freebsd-10-x86_64.facts
159
+ - facts/1.6/freebsd-11-x86_64.facts
159
160
  - facts/1.6/freebsd-9-i386.facts
160
161
  - facts/1.6/freebsd-9-x86_64.facts
161
162
  - facts/1.6/gentoo-i386.facts
@@ -166,6 +167,7 @@ files:
166
167
  - facts/1.6/opensuse-12-x86_64.facts
167
168
  - facts/1.6/opensuse-13-i386.facts
168
169
  - facts/1.6/opensuse-13-x86_64.facts
170
+ - facts/1.6/opensuse-42-x86_64.facts
169
171
  - facts/1.6/oraclelinux-5-i386.facts
170
172
  - facts/1.6/oraclelinux-5-x86_64.facts
171
173
  - facts/1.6/oraclelinux-6-i386.facts
@@ -227,6 +229,7 @@ files:
227
229
  - facts/1.7/fedora-24-x86_64.facts
228
230
  - facts/1.7/freebsd-10-i386.facts
229
231
  - facts/1.7/freebsd-10-x86_64.facts
232
+ - facts/1.7/freebsd-11-x86_64.facts
230
233
  - facts/1.7/freebsd-9-i386.facts
231
234
  - facts/1.7/freebsd-9-x86_64.facts
232
235
  - facts/1.7/gentoo-i386.facts
@@ -237,6 +240,7 @@ files:
237
240
  - facts/1.7/opensuse-12-x86_64.facts
238
241
  - facts/1.7/opensuse-13-i386.facts
239
242
  - facts/1.7/opensuse-13-x86_64.facts
243
+ - facts/1.7/opensuse-42-x86_64.facts
240
244
  - facts/1.7/oraclelinux-5-i386.facts
241
245
  - facts/1.7/oraclelinux-5-x86_64.facts
242
246
  - facts/1.7/oraclelinux-6-i386.facts
@@ -307,6 +311,7 @@ files:
307
311
  - facts/2.0/fedora-25-x86_64.facts
308
312
  - facts/2.0/freebsd-10-i386.facts
309
313
  - facts/2.0/freebsd-10-x86_64.facts
314
+ - facts/2.0/freebsd-11-x86_64.facts
310
315
  - facts/2.0/freebsd-9-i386.facts
311
316
  - facts/2.0/freebsd-9-x86_64.facts
312
317
  - facts/2.0/gentoo-i386.facts
@@ -323,6 +328,7 @@ files:
323
328
  - facts/2.0/opensuse-12-x86_64.facts
324
329
  - facts/2.0/opensuse-13-i386.facts
325
330
  - facts/2.0/opensuse-13-x86_64.facts
331
+ - facts/2.0/opensuse-42-x86_64.facts
326
332
  - facts/2.0/oraclelinux-5-i386.facts
327
333
  - facts/2.0/oraclelinux-5-x86_64.facts
328
334
  - facts/2.0/oraclelinux-6-i386.facts
@@ -393,6 +399,7 @@ files:
393
399
  - facts/2.1/fedora-25-x86_64.facts
394
400
  - facts/2.1/freebsd-10-i386.facts
395
401
  - facts/2.1/freebsd-10-x86_64.facts
402
+ - facts/2.1/freebsd-11-x86_64.facts
396
403
  - facts/2.1/freebsd-9-i386.facts
397
404
  - facts/2.1/freebsd-9-x86_64.facts
398
405
  - facts/2.1/gentoo-i386.facts
@@ -409,6 +416,7 @@ files:
409
416
  - facts/2.1/opensuse-12-x86_64.facts
410
417
  - facts/2.1/opensuse-13-i386.facts
411
418
  - facts/2.1/opensuse-13-x86_64.facts
419
+ - facts/2.1/opensuse-42-x86_64.facts
412
420
  - facts/2.1/oraclelinux-5-i386.facts
413
421
  - facts/2.1/oraclelinux-5-x86_64.facts
414
422
  - facts/2.1/oraclelinux-6-i386.facts
@@ -489,6 +497,7 @@ files:
489
497
  - facts/2.2/fedora-25-x86_64.facts
490
498
  - facts/2.2/freebsd-10-i386.facts
491
499
  - facts/2.2/freebsd-10-x86_64.facts
500
+ - facts/2.2/freebsd-11-x86_64.facts
492
501
  - facts/2.2/freebsd-9-i386.facts
493
502
  - facts/2.2/freebsd-9-x86_64.facts
494
503
  - facts/2.2/gentoo-i386.facts
@@ -505,6 +514,7 @@ files:
505
514
  - facts/2.2/opensuse-12-x86_64.facts
506
515
  - facts/2.2/opensuse-13-i386.facts
507
516
  - facts/2.2/opensuse-13-x86_64.facts
517
+ - facts/2.2/opensuse-42-x86_64.facts
508
518
  - facts/2.2/oraclelinux-5-i386.facts
509
519
  - facts/2.2/oraclelinux-5-x86_64.facts
510
520
  - facts/2.2/oraclelinux-6-i386.facts
@@ -585,6 +595,7 @@ files:
585
595
  - facts/2.3/fedora-25-x86_64.facts
586
596
  - facts/2.3/freebsd-10-i386.facts
587
597
  - facts/2.3/freebsd-10-x86_64.facts
598
+ - facts/2.3/freebsd-11-x86_64.facts
588
599
  - facts/2.3/freebsd-9-i386.facts
589
600
  - facts/2.3/freebsd-9-x86_64.facts
590
601
  - facts/2.3/gentoo-i386.facts
@@ -601,6 +612,7 @@ files:
601
612
  - facts/2.3/opensuse-12-x86_64.facts
602
613
  - facts/2.3/opensuse-13-i386.facts
603
614
  - facts/2.3/opensuse-13-x86_64.facts
615
+ - facts/2.3/opensuse-42-x86_64.facts
604
616
  - facts/2.3/oraclelinux-5-i386.facts
605
617
  - facts/2.3/oraclelinux-5-x86_64.facts
606
618
  - facts/2.3/oraclelinux-6-i386.facts
@@ -684,6 +696,7 @@ files:
684
696
  - facts/2.4/fedora-26-x86_64.facts
685
697
  - facts/2.4/freebsd-10-i386.facts
686
698
  - facts/2.4/freebsd-10-x86_64.facts
699
+ - facts/2.4/freebsd-11-x86_64.facts
687
700
  - facts/2.4/freebsd-9-i386.facts
688
701
  - facts/2.4/freebsd-9-x86_64.facts
689
702
  - facts/2.4/gentoo-i386.facts
@@ -700,6 +713,7 @@ files:
700
713
  - facts/2.4/opensuse-12-x86_64.facts
701
714
  - facts/2.4/opensuse-13-i386.facts
702
715
  - facts/2.4/opensuse-13-x86_64.facts
716
+ - facts/2.4/opensuse-42-x86_64.facts
703
717
  - facts/2.4/oraclelinux-5-i386.facts
704
718
  - facts/2.4/oraclelinux-5-x86_64.facts
705
719
  - facts/2.4/oraclelinux-6-i386.facts
@@ -772,6 +786,9 @@ files:
772
786
  - facts/2.5/fedora-25-i386.facts
773
787
  - facts/2.5/fedora-25-x86_64.facts
774
788
  - facts/2.5/fedora-26-x86_64.facts
789
+ - facts/2.5/freebsd-10-x86_64.facts
790
+ - facts/2.5/freebsd-11-x86_64.facts
791
+ - facts/2.5/opensuse-42-x86_64.facts
775
792
  - facts/2.5/oraclelinux-5-i386.facts
776
793
  - facts/2.5/oraclelinux-5-x86_64.facts
777
794
  - facts/2.5/oraclelinux-6-i386.facts
@@ -996,6 +1013,7 @@ files:
996
1013
  - facts/3.4/fedora-24-i386.facts
997
1014
  - facts/3.4/fedora-24-x86_64.facts
998
1015
  - facts/3.4/fedora-26-x86_64.facts
1016
+ - facts/3.4/opensuse-42-x86_64.facts
999
1017
  - facts/3.4/oraclelinux-5-i386.facts
1000
1018
  - facts/3.4/oraclelinux-5-x86_64.facts
1001
1019
  - facts/3.4/oraclelinux-6-i386.facts
@@ -1049,6 +1067,7 @@ files:
1049
1067
  - facts/3.5/fedora-24-i386.facts
1050
1068
  - facts/3.5/fedora-24-x86_64.facts
1051
1069
  - facts/3.5/fedora-26-x86_64.facts
1070
+ - facts/3.5/opensuse-42-x86_64.facts
1052
1071
  - facts/3.5/oraclelinux-5-i386.facts
1053
1072
  - facts/3.5/oraclelinux-5-x86_64.facts
1054
1073
  - facts/3.5/oraclelinux-6-i386.facts
@@ -1106,6 +1125,7 @@ files:
1106
1125
  - facts/3.6/fedora-25-i386.facts
1107
1126
  - facts/3.6/fedora-25-x86_64.facts
1108
1127
  - facts/3.6/fedora-26-x86_64.facts
1128
+ - facts/3.6/opensuse-42-x86_64.facts
1109
1129
  - facts/3.6/oraclelinux-5-i386.facts
1110
1130
  - facts/3.6/oraclelinux-5-x86_64.facts
1111
1131
  - facts/3.6/oraclelinux-6-i386.facts
@@ -1162,6 +1182,7 @@ files:
1162
1182
  - facts/3.7/fedora-25-i386.facts
1163
1183
  - facts/3.7/fedora-25-x86_64.facts
1164
1184
  - facts/3.7/fedora-26-x86_64.facts
1185
+ - facts/3.7/opensuse-42-x86_64.facts
1165
1186
  - facts/3.7/oraclelinux-5-i386.facts
1166
1187
  - facts/3.7/oraclelinux-5-x86_64.facts
1167
1188
  - facts/3.7/oraclelinux-6-i386.facts
@@ -1213,6 +1234,7 @@ files:
1213
1234
  - facts/3.8/fedora-25-i386.facts
1214
1235
  - facts/3.8/fedora-25-x86_64.facts
1215
1236
  - facts/3.8/fedora-26-x86_64.facts
1237
+ - facts/3.8/opensuse-42-x86_64.facts
1216
1238
  - facts/3.8/oraclelinux-5-i386.facts
1217
1239
  - facts/3.8/oraclelinux-5-x86_64.facts
1218
1240
  - facts/3.8/oraclelinux-6-i386.facts
@@ -1245,6 +1267,9 @@ files:
1245
1267
  - facts/3.8/windows-2016-x86_64.facts
1246
1268
  - facts/3.8/windows-7-x86_64.facts
1247
1269
  - facts/3.8/windows-8.1-x86_64.facts
1270
+ - facts/3.9/freebsd-10-amd64.facts
1271
+ - facts/3.9/freebsd-11-amd64.facts
1272
+ - facts/3.9/opensuse-42-x86_64.facts
1248
1273
  - facts/Gemfile
1249
1274
  - facts/Vagrantfile
1250
1275
  - facts/Windows_README.md