From c8de64d912b134c8e2d42a330027604a2a1775f1 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 17 Jun 2011 11:05:25 +0000 Subject: use a tag for exported ressources, instead of fetching by name --- modules/postgresql/manifests/init.pp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'modules/postgresql/manifests') 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, } } -- cgit v1.2.1