-apt_source "mediawiki" do
- template "mediawiki.list.erb"
- url "https://releases.wikimedia.org/debian"
- key "664C383A3566A3481B942F007A322AC6E84AFDD2"
+apt_repository "passenger" do
+ action repository_actions["passenger"]
+ uri "https://oss-binaries.phusionpassenger.com/apt/passenger"
+ components ["main"]
+ key "561F9B9CAC40B2F7"
+end
+
+apt_repository "postgresql" do
+ action repository_actions["postgresql"]
+ uri "https://apt.postgresql.org/pub/repos/apt"
+ distribution "#{node[:lsb][:codename]}-pgdg"
+ components ["main"]
+ key "7FCC7D46ACCC4CF8"
+end
+
+apt_repository "mediawiki" do
+ action repository_actions["mediawiki"]
+ uri "https://releases.wikimedia.org/debian"
+ distribution "jessie-mediawiki"
+ components ["main"]
+ key "90E9F83F22250DD7"