diff options
author | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 17:57:08 +0200 |
---|---|---|
committer | Nicolas Lécureuil <neoclust@mageia.org> | 2017-04-19 17:57:08 +0200 |
commit | a085b03ebde5f0bca91f3565284de8f7129ef49a (patch) | |
tree | 734c749cb3d53426a2b0ed7827a71a911e52a88e /modules | |
parent | 539b1fa336982f8b54d707d6be57d1e2f631c953 (diff) | |
download | puppet-a085b03ebde5f0bca91f3565284de8f7129ef49a.tar puppet-a085b03ebde5f0bca91f3565284de8f7129ef49a.tar.gz puppet-a085b03ebde5f0bca91f3565284de8f7129ef49a.tar.bz2 puppet-a085b03ebde5f0bca91f3565284de8f7129ef49a.tar.xz puppet-a085b03ebde5f0bca91f3565284de8f7129ef49a.zip |
mediawiki: Add vendor dir
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mediawiki/manifests/instance.pp | 7 |
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, |