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