diff options
author | Michael Scherer <misc@mageia.org> | 2011-06-15 17:17:20 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-06-15 17:17:20 +0000 |
commit | fc87d4aa50251dfbacbb8059fd4ef32af26d363f (patch) | |
tree | 1992bf105ab7c6bf1e2c580f66500a63263253b3 | |
parent | b343b0d7da56a3cf8e00c1283b1b43a0df23b7cc (diff) | |
download | puppet-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
-rw-r--r-- | modules/mediawiki/manifests/init.pp | 27 |
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 + } +} |