search for: initialize_db

Displaying 6 results from an estimated 6 matches for "initialize_db".

2009 Aug 21
1
[PATCH server] update installer exec items to single_exec where applicable
.....42433ea 100644 --- a/installer/modules/ovirt/manifests/postgres.pp +++ b/installer/modules/ovirt/manifests/postgres.pp @@ -41,18 +41,18 @@ class postgres::bundled{ service {"postgresql" : ensure => running, enable => true, - require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust],Exec[postgres_add_all_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]], hasst...
2009 Jun 23
1
[PATCH server] add postgres permissions requires prior to starting service
....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
2009 Jul 06
1
[PATCH server] add ipv6 postgres trust
...c0..12b7764 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],Exec[postgres_add_localhost_trust],Exec[postgres_add_all_trust]], + require => [Single_exec[initialize_db],Exec[postgres_add_localhost_trust],Exec[postgres_add_all_trust],Exec[postgres_add_ipv6_loopback_trust]], hasstatus => true } @@ -79,6 +79,12 @...
2009 Jun 19
0
[PATCH server] make postgres wait for starting to complete before creating databases
...5 @@ 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 => true, - require => Single_exec[initialize_db] + require => [Single_exec[initialize_db],Single_exec[start_pgsql]] } single_exec {"create_ovirt_db": -- 1.6.0....
2006 Feb 11
3
Intial data in Migrations
...work immediately becomes for nothing once you run a migration. Your entire schema will get rewritten, not appended to. In that case, with migrations, how is one suppose to handle initial data, such a look up table (such as state or country). Do those get put into a separate file? something like an initialize_db.rb? How have others been able to handle this with migrations? -- Sean Wolfe master nerd of i heart squares, Co. 3711 N. Ravenswood Ave. #147 Chicago, IL 60613 Ph. (773) 531-6301 Fx. (773) 529-7041 http://www.iheartsquares.com
2009 Jun 23
1
[PATCH server] added ovirt-wait4service and invokation in installer to wait for psql/ldap
...postgres_execute_command {"ovirt_db_create_role": @@ -70,13 +75,13 @@ class postgres::bundled{ exec {"postgres_add_all_trust": command => "/bin/echo 'local all all trust' > /var/lib/pgsql/data/pg_hba.conf", require => Single_exec[initialize_db], - notify => Service[postgresql] + notify => Single_exec[wait_for_postgres] } exec {"postgres_add_localhost_trust": command => "/bin/echo 'host all all 127.0.0.1 255.255.255.0 trust' >> /var/lib/pgsql/data/pg_hba.conf", require =>...