aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-15 21:42:18 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-15 21:42:18 +0200
commitd4948f0ef13bdbc66aebe3405498d5690d794c5f (patch)
tree8500272e03e54d4788f1204996451e8772213bc5 /modules
parent2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40 (diff)
downloadpuppet-d4948f0ef13bdbc66aebe3405498d5690d794c5f.tar
puppet-d4948f0ef13bdbc66aebe3405498d5690d794c5f.tar.gz
puppet-d4948f0ef13bdbc66aebe3405498d5690d794c5f.tar.bz2
puppet-d4948f0ef13bdbc66aebe3405498d5690d794c5f.tar.xz
puppet-d4948f0ef13bdbc66aebe3405498d5690d794c5f.zip
Try to fix database creation
Diffstat (limited to 'modules')
-rw-r--r--modules/youri-check/manifests/init.pp11
1 files changed, 5 insertions, 6 deletions
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