Joey Boggs
2009-Feb-11 02:15 UTC
[Ovirt-devel] [PATCH] fix ovirt db creation single_execs in installer
--- installer/modules/ovirt/manifests/postgres.pp | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/installer/modules/ovirt/manifests/postgres.pp b/installer/modules/ovirt/manifests/postgres.pp index af0f31b..6620a88 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -45,15 +45,13 @@ class postgres::bundled{ } single_exec {"create_ovirt_db": - command => "/usr/bin/createdb ovirt", - require => [Exec[postgres_add_all_trust], Service[postgresql]], - user => "postgres" + command => "/usr/bin/createdb ovirt -U postgres", + require => [Exec[postgres_add_all_trust], Service[postgresql]] } single_exec {"create_ovirt_development_db": - command => "/usr/bin/createdb ovirt_development", - require => [Exec[postgres_add_all_trust], Service[postgresql]], - user => "postgres" + command => "/usr/bin/createdb ovirt_development -U postgres", + require => [Exec[postgres_add_all_trust], Service[postgresql]] } postgres_execute_command {"ovirt_db_create_role": -- 1.6.0.6