aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mediawiki/manifests
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2017-02-21 01:26:36 +0100
committerOlivier Blin <dev@blino.org>2017-02-21 01:27:52 +0100
commitff87cf4acd77d3689f292e3c372ed614e4794aeb (patch)
treecad3ae34cb01c3571a78d0f3dc196237f58b4f6d /modules/mediawiki/manifests
parentabd69d217716cdc81e8628ab2978dd5aec4f90f9 (diff)
downloadpuppet-ff87cf4acd77d3689f292e3c372ed614e4794aeb.tar
puppet-ff87cf4acd77d3689f292e3c372ed614e4794aeb.tar.gz
puppet-ff87cf4acd77d3689f292e3c372ed614e4794aeb.tar.bz2
puppet-ff87cf4acd77d3689f292e3c372ed614e4794aeb.tar.xz
puppet-ff87cf4acd77d3689f292e3c372ed614e4794aeb.zip
Fix mediawiki package name
mediawiki-minimal does not exist anymore since Mga3, use mediawiki instead. This still works on alamut (Mga1) and allows installation on sucuk (Mga5).
Diffstat (limited to 'modules/mediawiki/manifests')
-rw-r--r--modules/mediawiki/manifests/base.pp2
-rw-r--r--modules/mediawiki/manifests/instance.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/mediawiki/manifests/base.pp b/modules/mediawiki/manifests/base.pp
index 43b33274..8144a7b8 100644
--- a/modules/mediawiki/manifests/base.pp
+++ b/modules/mediawiki/manifests/base.pp
@@ -3,7 +3,7 @@ class mediawiki::base {
$vhost = $mediawiki::config::vhost
$root = $mediawiki::config::root
- package { ['mediawiki-minimal','mediawiki-ldapauthentication']: }
+ package { ['mediawiki,'mediawiki-ldapauthentication']: }
file { $mediawiki::config::root:
ensure => directory,
diff --git a/modules/mediawiki/manifests/instance.pp b/modules/mediawiki/manifests/instance.pp
index ac962fa6..31a2fc76 100644
--- a/modules/mediawiki/manifests/instance.pp
+++ b/modules/mediawiki/manifests/instance.pp
@@ -26,7 +26,7 @@ define mediawiki::instance( $title,
exec { "wikicreate ${name}":
command => "mediawiki-create ${wiki_root}",
cwd => $mediawiki::base::root,
- require => [File[$wiki_root],Package['mediawiki-minimal']],
+ require => [File[$wiki_root],Package['mediawiki]],
creates => "${wiki_root}/index.php",
}