Module: Pot::Verifiers::Process
- Defined in:
- lib/pot/verifiers/process.rb
Overview
Process Verifier
Contains a verifier to check that a process is running.
Example Usage
verify { has_process 'httpd' }
Instance Method Summary collapse
-
#has_process(process) ⇒ Object
Checks to make sure
process
is a process running on the remote server.
Instance Method Details
#has_process(process) ⇒ Object
Checks to make sure process
is a process running on the remote server.
16 17 18 |
# File 'lib/pot/verifiers/process.rb', line 16 def has_process(process) @commands << "ps -C #{process}" end |