key "ACCC4CF8"
end
+apt_source "mediawiki" do
+ template "mediawiki.list.erb"
+ url "https://releases.wikimedia.org/debian"
+ key "664C383A3566A3481B942F007A322AC6E84AFDD2"
+end
+
package "unattended-upgrades"
auto_upgrades = if node[:apt][:unattended_upgrades][:enable]
--- /dev/null
+# DO NOT EDIT - This file is being maintained by Chef
+
+deb <%= @url %> jessie-mediawiki main
+deb-src <%= @url %> jessie-mediawiki main
+# Add the mediawiki APT source
+default[:apt][:sources] = node[:apt][:sources] | ["mediawiki"]
+
# Default to enabling the "wiki" role
default[:accounts][:users][:wiki][:status] = :role
# Mediawiki backup
package "xz-utils"
+# Mediawiki packages for VisualEditor support
+package "curl"
+package "parsoid"
+
link "/etc/php5/apache2/conf.d/20-wikidiff2.ini" do
to "../../mods-available/wikidiff2.ini"
end