facterdb 1.10.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
data/facts/Vagrantfile CHANGED
@@ -11,37 +11,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
11
11
  v.gui = false
12
12
  end
13
13
 
14
- config.vm.define "debian-6-x86_64" do |host|
15
- host.vm.box = "puppetlabs/debian-6.0.10-64-nocm"
16
- host.vm.provision "shell", inline: [
17
- "echo 'deb [allow-insecure=yes,trusted=yes] http://archive.debian.org/debian squeeze main' > /etc/apt/sources.list",
18
- "echo 'deb [allow-insecure=yes,trusted=yes] http://archive.debian.org/debian-security squeeze/updates main contrib' >> /etc/apt/sources.list",
19
- "apt-get update",
20
- "apt-get install -y --force-yes ruby rubygems",
21
- ].join(' && ')
22
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
23
- host.vm.provision "shell", path: "get_facts.sh"
24
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
25
- end
26
- config.vm.define "debian-7-x86_64" do |host|
27
- host.vm.box = "puppetlabs/debian-7.8-64-nocm"
28
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby rubygems ruby-dev"
29
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
30
- host.vm.provision "shell", path: "get_facts.sh"
31
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
32
- end
33
- config.vm.define "debian-8-x86_64" do |host|
34
- host.vm.box = "debian/jessie64"
35
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
36
- host.vm.provision "shell", path: "get_facts.sh"
37
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
38
- end
39
- config.vm.define "debian-9-x86_64" do |host|
40
- host.vm.box = "debian/stretch64"
41
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
42
- host.vm.provision "shell", path: "get_facts.sh"
43
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
44
- end
45
14
  config.vm.define "debian-10-x86_64" do |host|
46
15
  host.vm.box = "debian/contrib-buster64"
47
16
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
@@ -54,50 +23,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
54
23
  host.vm.provision "shell", path: "get_facts.sh"
55
24
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
56
25
  end
57
- config.vm.define "ubuntu-10.04-x86_64" do |host|
58
- host.vm.box = "ubuntu-server-10044-x64-vbox4210-nocm"
59
- host.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/ubuntu-server-10044-x64-vbox4210-nocm.box"
60
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev rubygems libopenssl-ruby"
61
- host.vm.provision "shell", inline: "gem install rubygems-update && /var/lib/gems/1.8/bin/update_rubygems"
62
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
63
- host.vm.provision "shell", path: "get_facts.sh"
64
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
65
- end
66
- config.vm.define "ubuntu-12.04-x86_64" do |host|
67
- host.vm.box = "puppetlabs/ubuntu-12.04-64-nocm"
68
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y rubygems"
69
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
70
- host.vm.provision "shell", path: "get_facts.sh"
71
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
72
- end
73
- config.vm.define "ubuntu-14.04-x86_64" do |host|
74
- host.vm.box = "puppetlabs/ubuntu-14.04-64-nocm"
75
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
76
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
77
- host.vm.provision "shell", path: "get_facts.sh"
78
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
79
- end
80
- config.vm.define "ubuntu-14.10-x86_64" do |host|
81
- host.vm.box = "chef/ubuntu-14.10"
82
- host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev"
83
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
84
- host.vm.provision "shell", path: "get_facts.sh"
85
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
86
- end
87
- config.vm.define "ubuntu-15.04-x86_64" do |host|
88
- host.vm.box = "ubuntu/vivid64"
89
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
90
- host.vm.provision "shell", path: "get_facts.sh"
91
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
92
- end
93
- config.vm.define "ubuntu-15.10-x86_64" do |host|
94
- host.vm.box = "sgallen/wily64"
95
- host.vm.network :private_network, ip: '10.0.0.2'
96
- host.vm.synced_folder ".", "/vagrant", :nfs => true
97
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
98
- host.vm.provision "shell", path: "get_facts.sh"
99
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
100
- end
101
26
  config.vm.define "linuxmint-18-x86_64" do |host|
102
27
  host.vm.box = "artem-sidorenko/mint-18.1-cinnamon"
103
28
  host.vm.provision "shell", inline: "apt-get update && apt-get install -y ruby ruby-dev libc6-dev"
@@ -112,33 +37,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
112
37
  host.vm.provision "shell", path: "get_facts.sh"
113
38
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
114
39
  end
115
- config.vm.define "ubuntu-16.04-x86_64" do |host|
116
- host.vm.box = "ubuntu/xenial64"
117
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
118
- host.vm.provision "shell", path: "get_facts.sh"
119
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
120
- end
121
40
  config.vm.define "ubuntu-18.04-x86_64" do |host|
122
41
  host.vm.box = "ubuntu/bionic64"
123
42
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
124
43
  host.vm.provision "shell", path: "get_facts.sh"
125
44
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
126
45
  end
127
- config.vm.define "centos-5-x86_64" do |host|
128
- host.vm.box = "puppetlabs/centos-5.11-64-nocm"
129
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
130
- host.vm.provision "shell", path: "get_facts.sh"
131
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
132
- end
133
- config.vm.define "centos-6-x86_64" do |host|
134
- host.vm.box = "centos/6"
135
- host.vm.network :private_network, ip: '10.0.0.2'
136
- host.vm.synced_folder ".", "/vagrant", :nfs => true
137
- host.vm.provision "shell", inline: "yum -y install ruby-devel gcc"
138
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
139
- host.vm.provision "shell", path: "get_facts.sh"
140
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
141
- end
142
46
  config.vm.define "centos-7-x86_64" do |host|
143
47
  host.vm.box = "centos/7"
144
48
  host.vm.network :private_network, ip: '10.0.0.2'
@@ -155,6 +59,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
155
59
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
156
60
  host.vm.provision "shell", path: "get_facts.sh"
157
61
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
62
+ host.vbguest.auto_update = true
158
63
  end
159
64
  config.vm.define "almalinux-8-x86_64" do |host|
160
65
  host.vm.box = "almalinux/8"
@@ -179,72 +84,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
179
84
  host.vm.provision "shell", path: "get_facts.sh"
180
85
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
181
86
  end
182
- config.vm.define "fedora-19-x86_64" do |host|
183
- host.vm.box = "rafacas/fedora19-plain"
184
- host.vm.provision "shell", inline: "yum -y install ruby ruby-devel"
185
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
186
- host.vm.provision "shell", path: "get_facts.sh"
187
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
188
- end
189
- config.vm.define "fedora-22-x86_64" do |host|
190
- host.vm.box = "bento/fedora-22"
191
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
192
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
193
- host.vm.provision "shell", path: "get_facts.sh"
194
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
195
- end
196
- config.vm.define "fedora-23-x86_64" do |host|
197
- host.vm.box = "bento/fedora-23"
198
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
199
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
200
- host.vm.provision "shell", path: "get_facts.sh"
201
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
202
- end
203
- config.vm.define "fedora-24-x86_64" do |host|
204
- host.vm.box = "bento/fedora-24"
205
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
206
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
207
- host.vm.provision "shell", path: "get_facts.sh"
208
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
209
- end
210
- config.vm.define "fedora-26-x86_64" do |host|
211
- host.vm.box = "bento/fedora-26"
212
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
213
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
214
- host.vm.provision "shell", path: "get_facts.sh"
215
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
216
- end
217
- config.vm.define "fedora-27-x86_64" do |host|
218
- host.vm.box = "bento/fedora-27"
219
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel"
220
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
221
- host.vm.provision "shell", path: "get_facts.sh"
222
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
223
- end
224
- config.vm.define "fedora-28-x86_64" do |host|
225
- host.vm.box = "bento/fedora-28"
226
- host.vm.synced_folder ".", "/vagrant"
227
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
228
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
229
- host.vm.provision "shell", path: "get_facts.sh"
230
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
231
- end
232
- config.vm.define "fedora-29-x86_64" do |host|
233
- host.vm.box = "bento/fedora-29"
234
- host.vm.synced_folder ".", "/vagrant"
235
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
236
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
237
- host.vm.provision "shell", path: "get_facts.sh"
238
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
239
- end
240
- config.vm.define "fedora-30-x86_64" do |host|
241
- host.vm.box = "bento/fedora-30"
242
- host.vm.synced_folder ".", "/vagrant"
243
- host.vm.provision "shell", inline: "dnf -y install gcc glibc-devel make"
244
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
245
- host.vm.provision "shell", path: "get_facts.sh"
246
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
247
- end
248
87
  config.vm.define "archlinux-x86_64" do |host|
249
88
  host.vm.box = "archlinux/archlinux"
250
89
  host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
@@ -441,11 +280,4 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
441
280
  host.vm.provision "shell", path: "get_facts.sh"
442
281
  host.vm.provision "shell", inline: "/sbin/shutdown -h now"
443
282
  end
444
- config.vm.define "amazonlinux-1-x86_64" do |host|
445
- host.vm.box = "spscommerce/amazonlinux"
446
- host.vm.provision "shell", inline: "yum -y install gcc glibc-devel"
447
- host.vm.provision "file", source: "Gemfile", destination: "Gemfile"
448
- host.vm.provision "shell", path: "get_facts.sh"
449
- host.vm.provision "shell", inline: "/sbin/shutdown -h now"
450
- end
451
283
  end
data/facts/get_facts.sh CHANGED
@@ -316,7 +316,7 @@ else
316
316
  fi
317
317
  bundle install --path vendor/bundler
318
318
 
319
- for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 4.0.0 4.1.0 4.2.0; do
319
+ for version in 4.0.0 4.1.0 4.2.0; do
320
320
  FACTER_GEM_VERSION="~> ${version}" bundle update
321
321
 
322
322
  # This is another workaround for shared folder on FreeBSD. "Accessing"
@@ -344,7 +344,7 @@ for version in 1.6.0 1.7.0 2.0.0 2.1.0 2.2.0 2.3.0 2.4.0 2.5.0 4.0.0 4.1.0 4.2.0
344
344
  fi
345
345
  mkdir -p $(dirname $output_file)
346
346
  echo $version | grep -q -E '^1\.' &&
347
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
348
- FACTER_GEM_VERSION="~> ${version}" bundle exec facter -j | tee $output_file
347
+ FACTER_GEM_VERSION="~> ${version}" bundle exec facter --show-legacy --json | bundle exec ruby -e 'require "json"; jj JSON.parse gets' | tee $output_file ||
348
+ FACTER_GEM_VERSION="~> ${version}" bundle exec facter --show-legacy --json | tee $output_file
349
349
  done
350
350
 
@@ -1,5 +1,5 @@
1
1
  module FacterDB
2
2
  module Version
3
- STRING = '1.10.0'
3
+ STRING = '1.10.1'
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: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vox Pupuli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-23 00:00:00.000000000 Z
11
+ date: 2021-10-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coveralls