-apt_source "mediawiki" do
- source_template "mediawiki.list.erb"
- url "https://releases.wikimedia.org/debian"
- key "90E9F83F22250DD7"
+apt_repository "mediawiki" do
+ action repository_actions["mediawiki"]
+ uri "https://releases.wikimedia.org/debian"
+ distribution "jessie-mediawiki"
+ components ["main"]
+ key "AF380A3036A03444"
+end
+
+apt_repository "docker" do
+ action repository_actions["docker"]
+ uri "https://download.docker.com/linux/ubuntu"
+ arch "amd64"
+ components ["stable"]
+ key "https://download.docker.com/linux/ubuntu/gpg"