From afb76620f276aacd4877f054e4be3150701915ff Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 20 Jun 2011 02:14:06 +0000 Subject: fix ordering issues ( took me a long time to understand the problem ) --- modules/mediawiki/manifests/init.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'modules') 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"], } } } -- cgit v1.2.1