Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Facter 4.10.0 support & Add CentOS 10 facts #387

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
488 changes: 488 additions & 0 deletions facts/4.10/centos-10-x86_64.facts

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions facts/4.2/centos-10-x86_64.facts

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions facts/4.3/centos-10-x86_64.facts

Large diffs are not rendered by default.

478 changes: 478 additions & 0 deletions facts/4.4/centos-10-x86_64.facts

Large diffs are not rendered by default.

484 changes: 484 additions & 0 deletions facts/4.5/centos-10-x86_64.facts

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions facts/4.6/centos-10-x86_64.facts

Large diffs are not rendered by default.

483 changes: 483 additions & 0 deletions facts/4.7/centos-10-x86_64.facts

Large diffs are not rendered by default.

973 changes: 973 additions & 0 deletions facts/4.8/centos-10-x86_64.facts

Large diffs are not rendered by default.

488 changes: 488 additions & 0 deletions facts/4.9/centos-10-x86_64.facts

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions facts/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,26 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# use the host.vm.box_url below
# facts land as centos-9-x86_64.facts
#
config.vm.define 'centos-stream10-x86_64', autostart: false do |host|
host.vm.box = 'centos/stream10'
host.vm.box_url = 'https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-Vagrant-10-latest.x86_64.vagrant-virtualbox.box'
# centos packages their box with synced folders set to rsync (presumably
# since vboxsf is not built in their kernel)
# If the version of the kernel-headers/kernel-devel that are available
# for download are newer than what is on the box then guest additions will
# not build. If the stars align, then you can set `type: 'virtualbox'`
# for synced_folder and maybe it will work, otherwise, it is a manual
# effort to rsync the fact files back
# host.vm.synced_folder '.', '/vagrant', type: 'virtualbox'
host.vm.synced_folder '.', '/vagrant'
host.vm.provision 'shell', inline: 'dnf -y install wget make gcc net-tools'
host.vm.provision 'file', source: 'Gemfile', destination: 'Gemfile'
host.vm.provision 'shell', path: 'get_facts.sh'
# commented to allow manual retrieval of the facts
# host.vm.provision 'shell', inline: '/sbin/shutdown -h now'
# this will install the guest additions which requires `vagrant plugin install vagrant-vbguest`
host.vbguest.auto_update = true
end
config.vm.define 'centos-stream9-x86_64', autostart: false do |host|
host.vm.box = 'centos/stream9'
host.vm.box_url = 'https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-Vagrant-9-20240513.0.x86_64.vagrant-virtualbox.box'
Expand Down
2 changes: 1 addition & 1 deletion facts/get_facts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ gem install bundler --no-document --no-format-executable
bundle config set path 'vendor/bundler'
bundle install

for version in 4.2.14 4.3.0 4.4.3 4.5.2 4.6.0 4.7.0 4.8.0 4.9.0; do
for version in 4.2.14 4.3.0 4.4.3 4.5.2 4.6.0 4.7.0 4.8.0 4.9.0 4.10.0; do
FACTER_GEM_VERSION="~> ${version}" bundle update
# sometimes all versions of facter are not possible, if the bundle update fails, skip the rest of the loop
if [ $? -ne 0 ]; then
Expand Down
5 changes: 4 additions & 1 deletion facts/versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
# Version information from Facter release notes: https://www.puppet.com/docs/puppet/8/release_notes_facter.htm
# FacterDB only cares about the x.y, and drops .z - Please keep versions in order by Facter version

# Facter 4.9.0 - Release September 2024 and shipped with Puppet 8.9.0
# Facter 4.10.0 - Released October 2024 and shipped with Puppet 8.10.0
8.10.0

# Facter 4.9.0 - Released September 2024 and shipped with Puppet 8.9.0
8.9.0

# Facter 4.8.0 - Released July 2024 and shipped with Puppet 8.8.1
Expand Down
Loading