class TddDeploy::RemoteNginx

TddDeploy::RemoteNginx

verifies Nginx executable is both present and running on web_hosts + balance_hosts

Public Instance Methods

test_nginx_installed() click to toggle source
# File lib/tdd_deploy/host_tests/remote_nginx.rb, line 8
def test_nginx_installed
  deploy_test_file_exists_on_hosts_as self.host_admin, self.web_hosts + self.balance_hosts, '/usr/sbin/nginx', "nginx should be installed"
end
test_nginx_running() click to toggle source
# File lib/tdd_deploy/host_tests/remote_nginx.rb, line 12
def test_nginx_running
  deploy_test_process_running_on_hosts_as self.host_admin, self.web_hosts + self.balance_hosts, '/var/run/nginx.pid', "nginx shold be running"
end