From 0562094a2cb979e2949935f0e8c13154445301a2 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 20 Jun 2022 12:50:58 +0200 Subject: [PATCH] Gentoo: Set systemd as default provider Systemd is available on Gentoo since a long time (although Gentoo supports multiple init systems). This change marks the provider as default for Gentoo. --- lib/puppet/provider/service/systemd.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/puppet/provider/service/systemd.rb b/lib/puppet/provider/service/systemd.rb index 6a451f0f8a0..33c9432722e 100644 --- a/lib/puppet/provider/service/systemd.rb +++ b/lib/puppet/provider/service/systemd.rb @@ -26,6 +26,7 @@ defaultfor :operatingsystem => :ubuntu notdefaultfor :operatingsystem => :ubuntu, :operatingsystemmajrelease => ["10.04", "12.04", "14.04", "14.10"] # These are using upstart defaultfor :operatingsystem => :cumuluslinux, :operatingsystemmajrelease => ["3", "4"] + defaultfor :operatingsystem => :gentoo def self.instances i = []