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.
25 lines
938 B
25 lines
938 B
From 5688991cd78f7c38a1edf28f76e9b7825a7d415a Mon Sep 17 00:00:00 2001
|
|
From: Dominic Cleal <dominic@cleal.org>
|
|
Date: Wed, 31 May 2017 10:07:04 +0100
|
|
Subject: [PATCH 3/5] Remove Fedora release restrictions from DNF provider
|
|
|
|
Ensure DNF provider will be used on all versions of Fedora, without new
|
|
ones being excluded.
|
|
---
|
|
lib/puppet/provider/package/dnf.rb | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/lib/puppet/provider/package/dnf.rb b/lib/puppet/provider/package/dnf.rb
|
|
index 4823ebf..ee27322 100644
|
|
--- a/lib/puppet/provider/package/dnf.rb
|
|
+++ b/lib/puppet/provider/package/dnf.rb
|
|
@@ -28,7 +28,7 @@ Puppet::Type.type(:package).provide :dnf, :parent => :yum do
|
|
end
|
|
end
|
|
|
|
- defaultfor :operatingsystem => :fedora, :operatingsystemmajrelease => (22..30).to_a
|
|
+ defaultfor :operatingsystem => :fedora
|
|
defaultfor :osfamily => :redhat, :operatingsystemmajrelease => ["8"]
|
|
|
|
def self.update_command
|