lib/serverspec/commands/redhat.rb in serverspec-0.0.2 vs lib/serverspec/commands/redhat.rb in serverspec-0.0.3

- old
+ new

@@ -1,13 +1,13 @@ module Serverspec module Commands class RedHat < Base def check_enabled service - "chkconfig --list #{service} 2> /dev/null | grep 3:on" + "chkconfig --list #{service} | grep 3:on" end def check_installed package - "rpm -q #{package} 2> /dev/null" + "rpm -q #{package}" end end end end