From a3a24fa5b96dbb5962872a1e3fba60a389b93ced Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Tue, 8 Mar 2011 11:54:36 +0000 Subject: - use the new type for remote database declaration --- modules/epoll/manifests/init.pp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/epoll/manifests/init.pp') diff --git a/modules/epoll/manifests/init.pp b/modules/epoll/manifests/init.pp index 89a2ce4c..7f84b0eb 100644 --- a/modules/epoll/manifests/init.pp +++ b/modules/epoll/manifests/init.pp @@ -16,7 +16,7 @@ class epoll { $pgsql_password = extlookup("epoll_pgsql",'x') - @@postgresql::user { 'epoll': + postgresql::remote_user { 'epoll': password => $pgsql_password, } @@ -30,10 +30,9 @@ class epoll { content => template("epoll/epoll.yml") } - @@postgresql::database { 'epoll': + postgresql::remote_database { 'epoll': description => "Epoll database", user => "epoll", - require => Postgresql::User['epoll'] } } -- cgit v1.2.1