aboutsummaryrefslogtreecommitdiffstats
path: root/modules/epoll
diff options
context:
space:
mode:
Diffstat (limited to 'modules/epoll')
-rw-r--r--modules/epoll/manifests/init.pp5
1 files changed, 2 insertions, 3 deletions
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']
}
}