Sha256: ff5ac05db2d16dcc7c0fd54675904b691c44d950ba145b96aa7716c70a96dee4
Contents?: true
Size: 444 Bytes
Versions: 62
Compression:
Stored size: 444 Bytes
Contents
module Serverspec module Commands class Gentoo < Linux def check_enabled(service, level=3) regexp = "^\\s*#{service}\\s*|\\s*\\(boot\\|default\\)" "rc-update show | grep -- #{escape(regexp)}" end def check_installed(package, version=nil) "eix #{escape(package)} --installed" end def check_running(service) "/etc/init.d/#{escape(service)} status" end end end end
Version data entries
62 entries across 62 versions & 1 rubygems