103 |
} |
} |
104 |
# fetch the exported ressources that should have been exported |
# fetch the exported ressources that should have been exported |
105 |
# once the db was created, and trigger a notify to the object passwed as callback_notify |
# once the db was created, and trigger a notify to the object passwed as callback_notify |
106 |
Postgresql::Database_callback <<| name == $name |>> |
Postgresql::Database_callback <<| tag == $name |>> |
107 |
} |
} |
108 |
|
|
109 |
define remote_database($description = "", |
define remote_database($description = "", |
121 |
require => Postgresql::User[$user] |
require => Postgresql::User[$user] |
122 |
} |
} |
123 |
|
|
124 |
Postgresql::Database_callback <<| name == $name |>> |
Postgresql::Database_callback <<| tag == $name |>> |
125 |
} |
} |
126 |
|
|
127 |
define remote_user($password, |
define remote_user($password, |
170 |
# this is fetched by the manifest asking the database creation, once the db have been created |
# this is fetched by the manifest asking the database creation, once the db have been created |
171 |
# FIXME proper ordering ? |
# FIXME proper ordering ? |
172 |
@@postgresql::database_callback { $name: |
@@postgresql::database_callback { $name: |
173 |
|
tag => $name, |
174 |
callback_notify => $callback_notify, |
callback_notify => $callback_notify, |
175 |
} |
} |
176 |
} |
} |