search for: start_pgsql

Displaying 1 result from an estimated 1 matches for "start_pgsql".

2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
...taller/modules/ovirt/manifests/postgres.pp index 6620a88..a711e32 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -38,10 +38,15 @@ class postgres::bundled{ require => Package[postgresql-server] } + single_exec {"start_pgsql": + command => "/bin/su - postgres -c '/usr/bin/pg_ctl start -w -D /var/lib/pgsql/data'", + require => Single_exec["initialize_db"] + } + service {"postgresql" : ensure => running, enable => t...