class TddDeploy::RemotePostgresql
TddDeploy::RemotePostgresql
¶ ↑
verifies that the postgresql exectuable is both installed and running on db_hosts
Public Instance Methods
test_postgresql_installed()
click to toggle source
# File lib/tdd_deploy/host_tests/remote_postgresql.rb, line 8 def test_postgresql_installed deploy_test_file_exists_on_hosts_as 'root', self.db_hosts, "/usr/bin/postgres", 'postgres should be installed' end
test_postgresql_running()
click to toggle source
# File lib/tdd_deploy/host_tests/remote_postgresql.rb, line 12 def test_postgresql_running deploy_test_process_running_on_hosts_as 'root', self.db_hosts, '/var/lib/postgres/data/postmaster.pid', 'postgresql server should be running' end