[Pkg-puppet-devel] [facter] 82/180: (fact-233) Update confine to reflect where the fact is supported

Stig Sandbeck Mathisen ssm at debian.org
Mon Jun 30 15:06:33 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 5b1d91880b94722d623038573211ba67d6295bf7
Author: Kylo Ginsberg <kylo at puppetlabs.com>
Date:   Thu May 8 22:55:21 2014 -0700

    (fact-233) Update confine to reflect where the fact is supported
---
 lib/facter/dhcp_servers.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/facter/dhcp_servers.rb b/lib/facter/dhcp_servers.rb
index d3ea817..2242b34 100644
--- a/lib/facter/dhcp_servers.rb
+++ b/lib/facter/dhcp_servers.rb
@@ -17,7 +17,7 @@ require 'facter/util/dhcp_servers'
 
 
 Facter.add(:dhcp_servers) do
-  confine :kernel => :linux
+  confine :operatingsystem => "Fedora", :operatingsystemrelease => "19"
   confine do
     Facter::Core::Execution.which('nmcli')
   end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list