diff options
Diffstat (limited to 'modules/mediawiki/manifests')
-rw-r--r-- | modules/mediawiki/manifests/instance.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/mediawiki/manifests/instance.pp b/modules/mediawiki/manifests/instance.pp index c7c98cfd..a6ff1047 100644 --- a/modules/mediawiki/manifests/instance.pp +++ b/modules/mediawiki/manifests/instance.pp @@ -43,6 +43,12 @@ define mediawiki::instance( $title, require => File[$wiki_root], } + file { "${wiki_root}/cache": + ensure => directory, + owner => apache, + mode => '0755', + } + exec { "wikicreate ${name}": command => "mediawiki-create ${wiki_root}", cwd => $mediawiki::base::root, |