You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.1 KiB
29 lines
1.1 KiB
6 years ago
|
From 76031db0120ef8a3bdee576ca4aac9dc8b2859af Mon Sep 17 00:00:00 2001
|
||
6 years ago
|
From: Emilien Macchi <emilien@redhat.com>
|
||
|
Date: Wed, 15 Aug 2018 22:40:35 +0200
|
||
6 years ago
|
Subject: [PATCH 4/5] (PUP-9069) Add support for RHEL8
|
||
6 years ago
|
|
||
|
This adds support for the next version of RHEL in the systemd provider.
|
||
|
Note: I have no idea when it'll be released but we need this patch as we
|
||
|
need to make Puppet systemd provider working.
|
||
|
---
|
||
|
lib/puppet/provider/service/systemd.rb | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/lib/puppet/provider/service/systemd.rb b/lib/puppet/provider/service/systemd.rb
|
||
6 years ago
|
index c444861..a68ce96 100644
|
||
6 years ago
|
--- a/lib/puppet/provider/service/systemd.rb
|
||
|
+++ b/lib/puppet/provider/service/systemd.rb
|
||
6 years ago
|
@@ -19,7 +19,7 @@ Puppet::Type.type(:service).provide :systemd, :parent => :base do
|
||
6 years ago
|
end
|
||
|
|
||
|
defaultfor :osfamily => [:archlinux]
|
||
|
- defaultfor :osfamily => :redhat, :operatingsystemmajrelease => "7"
|
||
|
+ defaultfor :osfamily => :redhat, :operatingsystemmajrelease => ["7", "8"]
|
||
|
defaultfor :osfamily => :redhat, :operatingsystem => :fedora
|
||
|
defaultfor :osfamily => :suse
|
||
|
defaultfor :osfamily => :coreos
|
||
6 years ago
|
--
|
||
|
2.19.2
|
||
|
|