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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2586 - (show annotations) (download)
Sat Mar 17 16:53:49 2012 UTC (12 years, 1 month ago) by misc
File size: 433 byte(s)
split the remaning class of postgresql module into different file, and clean them while on it
1 define postgresql::db_and_user( $password,
2 $description = '',
3 $callback_notify = '') {
4
5 postgresql::database { $name:
6 callback_notify => $callback_notify,
7 description => $description,
8 user => $name,
9 require => Postgresql::User[$name],
10 }
11
12 postgresql::user { $name:
13 password => $password
14 }
15 }

  ViewVC Help
Powered by ViewVC 1.1.30