X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/4f10eb951399adea7cd598b2d763969c735bc888..22c14f07fa7055967273e132d4438a4734c01519:/cookbooks/mediawiki/attributes/default.rb?ds=sidebyside diff --git a/cookbooks/mediawiki/attributes/default.rb b/cookbooks/mediawiki/attributes/default.rb index 59f020120..a7eab3291 100644 --- a/cookbooks/mediawiki/attributes/default.rb +++ b/cookbooks/mediawiki/attributes/default.rb @@ -1,11 +1,13 @@ +# 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" default[:mediawiki][:group] = "wiki" default[:mediawiki][:sites] = {} -