Skip to content

Commit 13796f0

Browse files
committed
Switch from facter to openfact
1 parent 2db1fb3 commit 13796f0

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

Gemfile

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,5 @@ group :release, optional: true do
99
gem 'github_changelog_generator', '~> 1.16.4', require: false
1010
end
1111

12-
if ENV.fetch('IMPLEMENTATION', nil) == 'puppet'
13-
# puppet on Ruby 3.3 / 3.4 has some missing dependencies
14-
gem 'base64', '~> 0.2' if RUBY_VERSION >= '3.4'
15-
gem 'puppet', '>= 7', '< 9'
16-
gem 'racc', '~> 1.8' if RUBY_VERSION >= '3.3'
17-
else
18-
gem 'openvox'
19-
end
12+
gem 'openvox'
2013
gem 'syslog', '~> 0.3' if RUBY_VERSION >= '3.4'

rspec-puppet-facts.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
2626
s.add_development_dependency 'voxpupuli-rubocop', '~> 4.2.0'
2727

2828
s.add_dependency 'deep_merge', '~> 1.2'
29-
s.add_dependency 'facter', '< 5'
29+
3030
s.add_dependency 'facterdb', '>= 3.1', '< 5.0'
31+
s.add_dependency 'openfact', '~> 5.0'
3132
end

0 commit comments

Comments
 (0)