parent
1d46e992af
commit
e98f95dcba
@ -0,0 +1,27 @@
|
|||||||
|
From ffd3da258dd526369d63df022a2fa57f6ed6c473 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dominic Cleal <dominic@cleal.org>
|
||||||
|
Date: Wed, 31 May 2017 10:07:04 +0100
|
||||||
|
Subject: [PATCH] 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 e144a1a..c0ed877 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', '23', '24']
|
||||||
|
+ defaultfor :operatingsystem => :fedora
|
||||||
|
|
||||||
|
def self.update_command
|
||||||
|
# In DNF, update is deprecated for upgrade
|
||||||
|
--
|
||||||
|
2.7.4
|
||||||
|
|
Loading…
Reference in new issue