class TddDeploy::RemoteMonit

TddDeploy::RemoteMonit

verifies monit executable is present and running on all hosts

Public Instance Methods

test_monit_installed() click to toggle source
# File lib/tdd_deploy/host_tests/remote_monit.rb, line 8
def test_monit_installed
  deploy_test_file_exists_on_hosts_as self.host_admin, self.hosts, '/usr/bin/monit', 'monit should be installed'
end
test_monit_running() click to toggle source
# File lib/tdd_deploy/host_tests/remote_monit.rb, line 12
def test_monit_running
  deploy_test_process_running_on_hosts_as 'root', self.hosts, '/var/run/monit.pid', "monit should be running"
end