X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/ff044920428608b2c04507ad52d6ab52c9d6555f..e790bebda87fffe3a6b3f6d29031b257ad5cbd6e:/cookbooks/mediawiki/attributes/default.rb diff --git a/cookbooks/mediawiki/attributes/default.rb b/cookbooks/mediawiki/attributes/default.rb index 7fce6d785..a7eab3291 100644 --- a/cookbooks/mediawiki/attributes/default.rb +++ b/cookbooks/mediawiki/attributes/default.rb @@ -1,8 +1,11 @@ +# Add the mediawiki APT source +default[:apt][:sources] = node[:apt][:sources] | ["mediawiki"] + # Default to enabling the "wiki" role default[:accounts][:users][:wiki][:status] = :role # Use prefork as PHP is to dumb for anything else -default[:apache][:mpm] = "prefork" +override[:apache][:mpm] = "prefork" # Set mediawiki defaults default[:mediawiki][:user] = "wiki"