Skip to content

Commit

Permalink
Merge pull request #9161 from bastelfreak/foo
Browse files Browse the repository at this point in the history
(PUP-11593) Gentoo: Set systemd as default provider
  • Loading branch information
joshcooper authored Nov 21, 2023
2 parents 16a7cd2 + df7a4b7 commit 13ce54d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/puppet/provider/service/systemd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
defaultfor :osfamily => :redhat, :operatingsystem => :fedora
defaultfor :osfamily => :suse
defaultfor :osfamily => :coreos
defaultfor :osfamily => :gentoo
defaultfor :operatingsystem => :amazon, :operatingsystemmajrelease => ["2", "2023"]
defaultfor :operatingsystem => :debian
notdefaultfor :operatingsystem => :debian, :operatingsystemmajrelease => ["5", "6", "7"] # These are using the "debian" method
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/provider/service/systemd_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
Puppet::Util::Execution::ProcessOutput.new('', 0)
end

osfamilies = [ 'archlinux', 'coreos' ]
osfamilies = [ 'archlinux', 'coreos', 'gentoo' ]

osfamilies.each do |osfamily|
it "should be the default provider on #{osfamily}" do
Expand Down

0 comments on commit 13ce54d

Please sign in to comment.