Sha256: f3417e4ae61984a331afbae35b84d179d06018c74ff3e445d4a2248058628223

Contents?: true

Size: 243 Bytes

Versions: 47

Compression:

Stored size: 243 Bytes

Contents

module Serverspec
  module Commands
    class RedHat < Base
      def check_enabled service
        "chkconfig --list #{service} | grep 3:on"
      end

      def check_installed package
        "rpm -q #{package}"
      end
    end
  end
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
serverspec-0.0.9 lib/serverspec/commands/redhat.rb
serverspec-0.0.8 lib/serverspec/commands/redhat.rb
serverspec-0.0.7 lib/serverspec/commands/redhat.rb
serverspec-0.0.6 lib/serverspec/commands/redhat.rb
serverspec-0.0.5 lib/serverspec/commands/redhat.rb
serverspec-0.0.4 lib/serverspec/commands/redhat.rb
serverspec-0.0.3 lib/serverspec/commands/redhat.rb