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

Contents of /puppet/modules/postgresql/manifests/remote_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: 651 byte(s)
split the remaning class of postgresql module into different file, and clean them while on it
1 define postgresql::remote_db_and_user($password,
2 $description = '',
3 $tag = 'default',
4 $callback_notify = '') {
5
6 @@postgresql::db_and_user { $name:
7 callback_notify => $callback_notify,
8 tag => $tag,
9 description => $description,
10 password => $password,
11 }
12
13 # fetch the exported ressources that should have been exported
14 # once the db was created, and trigger a notify to the object
15 # passed as callback_notify
16 Postgresql::Database_callback <<| tag == $name |>>
17 }

  ViewVC Help
Powered by ViewVC 1.1.30