diff options
Diffstat (limited to 'modules/phpbb/manifests/init.pp')
-rw-r--r-- | modules/phpbb/manifests/init.pp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/phpbb/manifests/init.pp b/modules/phpbb/manifests/init.pp index 06634821..e04b1a32 100644 --- a/modules/phpbb/manifests/init.pp +++ b/modules/phpbb/manifests/init.pp @@ -13,6 +13,14 @@ class phpbb { # TODO git checkout - # TODO mysql vm creation + $pgsql_password = extlookup("phpbb_pgsql",'x') + @@postgresql::user { 'phpbb': + password => $pgsql_password, + } + @@postgresql::database { 'phpbb': + description => "Phpbb database", + user => "phpbb", + require => Postgresql::User['phpbb'] + } } |