aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-15 17:17:20 +0000
committerMichael Scherer <misc@mageia.org>2011-06-15 17:17:20 +0000
commitfc87d4aa50251dfbacbb8059fd4ef32af26d363f (patch)
tree1992bf105ab7c6bf1e2c580f66500a63263253b3 /modules/mediawiki
parentb343b0d7da56a3cf8e00c1283b1b43a0df23b7cc (diff)
downloadpuppet-fc87d4aa50251dfbacbb8059fd4ef32af26d363f.tar
puppet-fc87d4aa50251dfbacbb8059fd4ef32af26d363f.tar.gz
puppet-fc87d4aa50251dfbacbb8059fd4ef32af26d363f.tar.bz2
puppet-fc87d4aa50251dfbacbb8059fd4ef32af26d363f.tar.xz
puppet-fc87d4aa50251dfbacbb8059fd4ef32af26d363f.zip
add the skeleton of a manifest for mediawiki
Diffstat (limited to 'modules/mediawiki')
-rw-r--r--modules/mediawiki/manifests/init.pp27
1 files changed, 27 insertions, 0 deletions
diff --git a/modules/mediawiki/manifests/init.pp b/modules/mediawiki/manifests/init.pp
new file mode 100644
index 00000000..956fa014
--- /dev/null
+++ b/modules/mediawiki/manifests/init.pp
@@ -0,0 +1,27 @@
+class mediawiki {
+ class base {
+ package { "mediawiki":
+ ensure => installed,
+ }
+
+ $pgsql_password = extlookup("mediawiki_pgsql",'x')
+ @@postgresql::user { $user:
+ password => $pgsql_password,
+ }
+
+ # TODO create the ldap user
+ $ldap_password = extlookup('mediawiki_ldap','x')
+
+ # TODO write the web configuration
+
+ # add index.php
+ }
+
+ # do wiki basic installation
+
+ define instance {
+ # define a db per instance
+ # install / link source code
+ # add config file
+ }
+}