/[adm]/puppet/modules/postgresql/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/postgresql/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 55 - (show annotations) (download)
Thu Oct 28 23:41:31 2010 UTC (13 years, 11 months ago) by nanardon
File size: 731 byte(s)
- add postgresql config
1 class postgresql {
2 package { postgresql9.0-server:
3 ensure => installed
4 }
5
6 service { postgresql:
7 restart => "/etc/rc.d/init.d/postgresql reload"
8 }
9
10 file { '/var/lib/pgsql/data/postgresql.conf':
11 ensure => present,
12 owner => postgres,
13 group => postgres,
14 mode => 644,
15 require => Package["postgresql9.0-server"],
16 content => "",
17 notify => [Service['postgreql']]
18 }
19
20 file { '/var/lib/pgsql/data/pg_hba.conf':
21 ensure => present,
22 owner => postgres,
23 group => postgres,
24 mode => 644,
25 require => Package["postgresql9.0-server"],
26 content => "",
27 notify => [Service['postgresql']]
28 }
29 }

  ViewVC Help
Powered by ViewVC 1.1.30