aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mediawiki/manifests')
-rw-r--r--modules/mediawiki/manifests/instance.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/mediawiki/manifests/instance.pp b/modules/mediawiki/manifests/instance.pp
index 6cfa76b7..9e09c354 100644
--- a/modules/mediawiki/manifests/instance.pp
+++ b/modules/mediawiki/manifests/instance.pp
@@ -14,6 +14,7 @@ define mediawiki::instance( $title,
$ldap_password = $mediawiki::config::ldap_password
$includedir = "/usr/share/mediawiki/includes"
$maintenancedir = "/usr/share/mediawiki/maintenance"
+ $vendordir = "/usr/share/mediawiki/vendor"
file { $wiki_root:
ensure => directory
@@ -36,6 +37,12 @@ define mediawiki::instance( $title,
require => File[$wiki_root],
}
+ file { "${wiki_root}/vendor":
+ ensure => link,
+ target => $vendordir,
+ require => File[$wiki_root],
+ }
+
exec { "wikicreate ${name}":
command => "mediawiki-create ${wiki_root}",
cwd => $mediawiki::base::root,