aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki/manifests
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2017-04-20 15:55:21 +0200
committerNicolas Lécureuil <neoclust@mageia.org>2017-04-20 15:55:42 +0200
commit0e07a82c58e4216f58c311a3b91bba096db2383a (patch)
treee52ea04cc9de2aecee1817ca85ec22f289f34e61 /modules/mediawiki/manifests
parent0c7606141bfcb6b4e68a9c97116e8585e40818d8 (diff)
downloadpuppet-0e07a82c58e4216f58c311a3b91bba096db2383a.tar
puppet-0e07a82c58e4216f58c311a3b91bba096db2383a.tar.gz
puppet-0e07a82c58e4216f58c311a3b91bba096db2383a.tar.bz2
puppet-0e07a82c58e4216f58c311a3b91bba096db2383a.tar.xz
puppet-0e07a82c58e4216f58c311a3b91bba096db2383a.zip
mediawiki: Create cache folder
Diffstat (limited to 'modules/mediawiki/manifests')
-rw-r--r--modules/mediawiki/manifests/instance.pp6
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,