Add additional constraints to ensure entropy is taken as the default provider
This commit is contained in:
@@ -13,7 +13,7 @@ Puppet::Type.type(:package).provide :entropy, :parent => Puppet::Provider::Packa
|
|||||||
|
|
||||||
confine :has_entropy => true
|
confine :has_entropy => true
|
||||||
|
|
||||||
defaultfor :has_entropy => true
|
defaultfor :has_entropy => :true, :osfamily => :Gentoo
|
||||||
|
|
||||||
def self.instances
|
def self.instances
|
||||||
result_format = /^(\S+)\/(\S+)-([\.\d]+(?:_?(?:a(?:lpha)?|b(?:eta)?|pre|rc|p)\d*)?(?:-r\d+)?)(?:#(\S+))?$/
|
result_format = /^(\S+)\/(\S+)-([\.\d]+(?:_?(?:a(?:lpha)?|b(?:eta)?|pre|rc|p)\d*)?(?:-r\d+)?)(?:#(\S+))?$/
|
||||||
|
|||||||
Reference in New Issue
Block a user