Displaying 3 results from an estimated 3 matches for "create_ovirt_db".
2009 Jun 23
1
[PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
...hasstatus => true
}
+ single_exec { "wait_for_postgres" :
+ command => "/usr/bin/ovirt-wait4service 'psql -l -U postgres' 10 2",
+ require => Service[postgresql]
+ }
+
single_exec {"create_ovirt_db":
command => "/usr/bin/createdb ovirt -U postgres",
- require => [Exec[postgres_add_all_trust], Service[postgresql]]
+ require => [Exec[postgres_add_all_trust], Single_exec[wait_for_postgres]]
}
single_exec {"create_ovirt_development_db":...
2009 Aug 21
1
[PATCH server] update installer exec items to single_exec where applicable
...l_trust],Exec[postgres_add_ipv6_loopback_trust]],
+ require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust],Single_exec[postgres_add_all_trust],Exec[postgres_add_ipv6_loopback_trust]],
hasstatus => true
}
single_exec {"create_ovirt_db":
command => "/usr/bin/createdb ovirt -U postgres",
- require => [Exec[postgres_add_all_trust], Service[postgresql]]
+ require => [Single_exec[postgres_add_all_trust], Service[postgresql]]
}
single_exec {"create_ovirt_development_db":...
2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
...; Single_exec["initialize_db"]
+ }
+
service {"postgresql" :
ensure => running,
enable => true,
- require => Single_exec[initialize_db]
+ require => [Single_exec[initialize_db],Single_exec[start_pgsql]]
}
single_exec {"create_ovirt_db":
--
1.6.0.6