aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-15 21:37:46 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-15 21:37:46 +0200
commit2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40 (patch)
treebfa7395b343996bb5c9030113162795acebaaa4c
parent77a97c75bc765805d1893c376accee77890e243f (diff)
downloadpuppet-2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40.tar
puppet-2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40.tar.gz
puppet-2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40.tar.bz2
puppet-2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40.tar.xz
puppet-2b5f5d9b7c8f3d914f141ad17d80d588b0e14e40.zip
Try to create youricauldron db
-rw-r--r--modules/youri-check/manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/youri-check/manifests/init.pp b/modules/youri-check/manifests/init.pp
index 8f9b7d06..f6e11494 100644
--- a/modules/youri-check/manifests/init.pp
+++ b/modules/youri-check/manifests/init.pp
@@ -28,6 +28,13 @@ class youri-check {
}
+
+ $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