diff options
author | Michael Scherer <misc@mageia.org> | 2011-06-17 11:05:25 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-06-17 11:05:25 +0000 |
commit | c8de64d912b134c8e2d42a330027604a2a1775f1 (patch) | |
tree | dabd5b061282324ab4b86ee6105581f1b74e50e8 | |
parent | cd3fdad80e76f8690b8ae786d7fe624767296c14 (diff) | |
download | puppet-c8de64d912b134c8e2d42a330027604a2a1775f1.tar puppet-c8de64d912b134c8e2d42a330027604a2a1775f1.tar.gz puppet-c8de64d912b134c8e2d42a330027604a2a1775f1.tar.bz2 puppet-c8de64d912b134c8e2d42a330027604a2a1775f1.tar.xz puppet-c8de64d912b134c8e2d42a330027604a2a1775f1.zip |
use a tag for exported ressources, instead of fetching by name
-rw-r--r-- | modules/postgresql/manifests/init.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index 54971918..eeed6613 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -103,7 +103,7 @@ class postgresql { } # fetch the exported ressources that should have been exported # once the db was created, and trigger a notify to the object passwed as callback_notify - Postgresql::Database_callback <<| name == $name |>> + Postgresql::Database_callback <<| tag == $name |>> } define remote_database($description = "", @@ -121,7 +121,7 @@ class postgresql { require => Postgresql::User[$user] } - Postgresql::Database_callback <<| name == $name |>> + Postgresql::Database_callback <<| tag == $name |>> } define remote_user($password, @@ -170,6 +170,7 @@ class postgresql { # this is fetched by the manifest asking the database creation, once the db have been created # FIXME proper ordering ? @@postgresql::database_callback { $name: + tag => $name, callback_notify => $callback_notify, } } |