aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2011-06-20 02:14:06 +0000
committerMichael Scherer <misc@mageia.org>2011-06-20 02:14:06 +0000
commitafb76620f276aacd4877f054e4be3150701915ff (patch)
treeaeb1d49ed5c1b2b321666ca1fa855a5347eb68b7 /modules/mediawiki/manifests
parent7165dd6b72bd34ba5f14e9978338a85af34ebd4d (diff)
downloadpuppet-afb76620f276aacd4877f054e4be3150701915ff.tar
puppet-afb76620f276aacd4877f054e4be3150701915ff.tar.gz
puppet-afb76620f276aacd4877f054e4be3150701915ff.tar.bz2
puppet-afb76620f276aacd4877f054e4be3150701915ff.tar.xz
puppet-afb76620f276aacd4877f054e4be3150701915ff.zip
fix ordering issues ( took me a long time to understand the problem )
Diffstat (limited to 'modules/mediawiki/manifests')
-rw-r--r--modules/mediawiki/manifests/init.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/mediawiki/manifests/init.pp b/modules/mediawiki/manifests/init.pp
index 0b091e6f..74286205 100644
--- a/modules/mediawiki/manifests/init.pp
+++ b/modules/mediawiki/manifests/init.pp
@@ -87,7 +87,10 @@ class mediawiki {
file { "$wiki_root/LocalSettings.php":
ensure => present,
- content => template("mediawiki/LocalSettings.php")
+ content => template("mediawiki/LocalSettings.php"),
+ # if LocalSettings is created first, the wikicreate script
+ # do not create a confg directory, and so it doesn't trigger deploy_db exec
+ require => Exec["wikicreate $name"],
}
}
}