Sha256: af51f10080b04fd92100d3e89ff3339337058a7bb4c8a4d64e461b534a416735
Contents?: true
Size: 492 Bytes
Versions: 29
Compression:
Stored size: 492 Bytes
Contents
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 <tt>process</tt> is a process running # on the remote server. def has_process(process) @commands << "ps -C #{process}" end end end end
Version data entries
29 entries across 29 versions & 2 rubygems