aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/wikis
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-10-10 13:39:39 +0000
committerNicolas Vigier <boklm@mageia.org>2011-10-10 13:39:39 +0000
commit7b29dc519cb15cb4f7da47382c735a4d639f87d4 (patch)
treeda7a0afdb8dd8fb30582247c065e42e2c505c22e /deployment/wikis
parentd01e4882ad20e34569f2270a9c60482e53fe0151 (diff)
downloadpuppet-7b29dc519cb15cb4f7da47382c735a4d639f87d4.tar
puppet-7b29dc519cb15cb4f7da47382c735a4d639f87d4.tar.gz
puppet-7b29dc519cb15cb4f7da47382c735a4d639f87d4.tar.bz2
puppet-7b29dc519cb15cb4f7da47382c735a4d639f87d4.tar.xz
puppet-7b29dc519cb15cb4f7da47382c735a4d639f87d4.zip
add config class to move configuration options outside module
Diffstat (limited to 'deployment/wikis')
-rw-r--r--deployment/wikis/manifests/init.pp6
1 files changed, 6 insertions, 0 deletions
diff --git a/deployment/wikis/manifests/init.pp b/deployment/wikis/manifests/init.pp
index 132dc64f..6ed08d10 100644
--- a/deployment/wikis/manifests/init.pp
+++ b/deployment/wikis/manifests/init.pp
@@ -1,6 +1,12 @@
class wikis {
include mediawiki::base
+ class { "mediawiki::config":
+ pgsql_password => extlookup("mediawiki_pgsql",'x'),
+ secretkey => extlookup("mediawiki_secretkey",'x'),
+ ldap_password => extlookup('mediawiki_ldap','x'),
+ }
+
mediawiki::instance { "en":
title => "Mageia wiki",
}