From d4948f0ef13bdbc66aebe3405498d5690d794c5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Sat, 15 Apr 2017 21:42:18 +0200 Subject: Try to fix database creation --- modules/youri-check/manifests/init.pp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'modules') diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp index f6e11494..a661726a 100644 --- a/modules/youri-check/manifests/init.pp +++ b/modules/youri-check/manifests/init.pp @@ -26,15 +26,14 @@ class youri-check { package { ['youri-check', 'perl-DBD-Pg', 'perl-Youri-Media']: } + $pgsql_password = extlookup('youri_pgsql','x') + postgresql::remote_db_and_user { 'youricauldron': + description => 'Youri cauldron', + password => $youri_pgsql, + } } - $pgsql_password = extlookup('youri_pgsql','x') - postgresql::remote_db_and_user { 'youricauldron': - description => 'Youri cauldron', - password => $youri_pgsql, - } - define config($version) { include youri-check::base -- cgit v1.2.1