Joey Boggs
2009-Jun-23 20:51 UTC
[Ovirt-devel] [PATCH server] add postgres permissions requires prior to starting service
Give this one a try which will require the user/hosts permissions to be setup prior to starting postgres --- installer/modules/ovirt/manifests/postgres.pp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp index c46b360..381d67c 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -41,7 +41,7 @@ class postgres::bundled{ service {"postgresql" : ensure => running, enable => true, - require => Single_exec[initialize_db], + require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust]Exec[postgres_add_all_trust]], hasstatus => true } -- 1.6.2.2
Joey Boggs
2009-Jun-23 20:53 UTC
[Ovirt-devel] Re: [PATCH server] add postgres permissions requires prior to starting service
On 06/23/2009 04:51 PM, Joey Boggs wrote:> Give this one a try which will require the user/hosts permissions to be setup prior to starting postgres > > --- > installer/modules/ovirt/manifests/postgres.pp | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp > index c46b360..381d67c 100644 > --- a/installer/modules/ovirt/manifests/postgres.pp > +++ b/installer/modules/ovirt/manifests/postgres.pp > @@ -41,7 +41,7 @@ class postgres::bundled{ > service {"postgresql" : > ensure => running, > enable => true, > - require => Single_exec[initialize_db], > + require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust]Exec[postgres_add_all_trust]], > hasstatus => true > } > >ignore this one it's missing a comma
Maybe Matching Threads
- [PATCH server] update installer exec items to single_exec where applicable
- [PATCH server] add ipv6 postgres trust
- [PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
- [PATCH server] make postgres wait for starting to complete before creating databases
- [PATCH server] update postgres for ipv6 support, or db:migrate will fail