diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-10-29 01:22:42 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-10-29 01:22:42 +0000 |
commit | 868d7a1b859a7010b2f435d1e9e0353734132a5b (patch) | |
tree | ac17b730128a73b7fb73de290b835df5a3c46605 | |
parent | 141b83a0075828fadf8cd38df2e79f4b39b33236 (diff) | |
download | puppet-868d7a1b859a7010b2f435d1e9e0353734132a5b.tar puppet-868d7a1b859a7010b2f435d1e9e0353734132a5b.tar.gz puppet-868d7a1b859a7010b2f435d1e9e0353734132a5b.tar.bz2 puppet-868d7a1b859a7010b2f435d1e9e0353734132a5b.tar.xz puppet-868d7a1b859a7010b2f435d1e9e0353734132a5b.zip |
- check postgres is running
-rw-r--r-- | modules/postgresql/manifests/init.pp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index c93da034..be9c2c5a 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -4,6 +4,8 @@ class postgresql { } service { postgresql: + ensure => running, + subscribe => Package[postgresql9.0-server"], restart => "/etc/rc.d/init.d/postgresql reload" } |