summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util
diff options
context:
space:
mode:
authorMarkus Roberts <Markus@reality.com>2009-12-18 18:58:14 -0800
committerJames Turnbull <james@lovedthanlost.net>2009-12-20 08:47:55 +1100
commitea90daaf95493e3f49fb949b233932b7bf96aae1 (patch)
tree5e8148b5f4c2b2104d8727bb27aaf5f52abda3e9 /lib/puppet/util
parentfc221ffdae07e4cae8fb6b280c00193d639d2043 (diff)
downloadpuppet-ea90daaf95493e3f49fb949b233932b7bf96aae1.tar.gz
puppet-ea90daaf95493e3f49fb949b233932b7bf96aae1.tar.xz
puppet-ea90daaf95493e3f49fb949b233932b7bf96aae1.zip
Fix for #2965 (Chatty SELinux message)
Diffstat (limited to 'lib/puppet/util')
-rw-r--r--lib/puppet/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
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'