diff options
Diffstat (limited to 'modules/postgresql/manifests/init.pp')
-rw-r--r-- | modules/postgresql/manifests/init.pp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/postgresql/manifests/init.pp b/modules/postgresql/manifests/init.pp index a01c1093..1afb25f5 100644 --- a/modules/postgresql/manifests/init.pp +++ b/modules/postgresql/manifests/init.pp @@ -79,11 +79,13 @@ class postgresql { content => template("postgresql/pg_ident.conf"), require => Package["postgresql-server"], } + } + define tagged() { # TODO add a system of tag so we can declare database on more than one # server - Postgresql::User <<| |>> - Postgresql::Database <<| |>> + Postgresql::User <<| tag == $name |>> + Postgresql::Database <<| tag == $name |>> } |