module Sprinkle module Verifiers # = Process Verifier # # Contains a verifier to check that a process is running. # # == Example Usage # # verify { has_process 'httpd' } # module Process Sprinkle::Verify.register(Sprinkle::Verifiers::Process) # Checks to make sure process is a process running # on the remote server. def has_process(process) @commands << "ps aux | grep '#{process}' | grep -v grep" end end end end