Modified: puppet/modules/epoll/manifests/init.pp
===================================================================
--- puppet/modules/epoll/manifests/init.pp 2010-12-07 02:40:26 UTC (rev 527)
+++ puppet/modules/epoll/manifests/init.pp 2010-12-07 02:40:27 UTC (rev 528)
@@ -15,6 +15,11 @@
apache::vhost_redirect_ssl { $vhost: }
$password = extlookup("epoll_password",'x')
+
+ @@postgresql::user { 'epoll':
+ password => $password,
+ }
+
file { "epoll.yml":
path => "/etc/epoll.yml",
@@ -24,4 +29,11 @@
mode => 640,
content => template("epoll/epoll.yml")
}
+
+ @@postgresql::database { 'epoll':
+ description => "Epoll database",
+ user => "epoll",
+ require => Postgresql::User['epoll']
+ }
+
}