Sha256: b627b1f2d37984340dc408213134b54ac68ea66a11075c58c531158bc525244a
Contents?: true
Size: 379 Bytes
Versions: 4
Compression:
Stored size: 379 Bytes
Contents
module Serverspec module Commands class Gentoo < Base def check_enabled service "/sbin/rc-update show | grep '^\\s*#{service}\\s*|\\s*\\(boot\\|default\\)'" end def check_installed package "/usr/bin/eix #{package} --installed" end def check_running service "/etc/init.d/#{service} status" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems