Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add some more controls.

  • Loading branch information...
commit 99207990d358dfebd7a4831d84610caf6f007343 1 parent aa17900
Tim Stoop timstoop authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 kbp_mediawiki/manifests/init.pp
7 kbp_mediawiki/manifests/init.pp
View
@@ -1,5 +1,7 @@
define kbp_mediawiki::site($basepath="/srv/www") {
- gen_mediawiki::site { "${basepath}/${name}":; }
+ gen_mediawiki::site { "${basepath}/${name}":
+ require => File["${basepath}/${name}"],
+ }
file { "/etc/apache2/conf.d/mediawiki.conf":
ensure => link,
@@ -12,6 +14,7 @@
gen_mediawiki::extension { $name:
sitepath => "${basepath}/${site}",
linkname => $linkname,
- extrapath => $extrapath;
+ extrapath => $extrapath,
+ require => Kbp_mediawiki::Site[$site],
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.