module Sprinkle::Verifiers::Process

Process Verifier

Contains a verifier to check that a process is running.

Example Usage

verify { has_process 'httpd' }

Public Instance Methods

has_process(process) click to toggle source

Checks to make sure process is a process running on the remote server.

# File lib/sprinkle/verifiers/process.rb, line 16
def has_process(process)
  @commands << "ps -C #{process}"
end