From ea90daaf95493e3f49fb949b233932b7bf96aae1 Mon Sep 17 00:00:00 2001 From: Markus Roberts Date: Fri, 18 Dec 2009 18:58:14 -0800 Subject: Fix for #2965 (Chatty SELinux message) --- lib/puppet/util/selinux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/util') diff --git a/lib/puppet/util/selinux.rb b/lib/puppet/util/selinux.rb index 628a6ec23..3801ecdb0 100644 --- a/lib/puppet/util/selinux.rb +++ b/lib/puppet/util/selinux.rb @@ -7,7 +7,7 @@ # was abysmal. At this time (2008-11-02) the only distribution providing # these Ruby SELinux bindings which I am aware of is Fedora (in libselinux-ruby). -Puppet.warning "SELinux not installed" unless Puppet.features.selinux? +Puppet.features.selinux? # check, but continue even if it's not require 'pathname' -- cgit