]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apt/recipes/default.rb
Send diff uploads to cgimap
[chef.git] / cookbooks / apt / recipes / default.rb
index a862394224b08aace95b612c3cd4064a9066135f..14e37dd9b6ba75a29cb62383c3c8ed7c7873dcfd 100644 (file)
@@ -20,6 +20,7 @@
 package %w[
   apt
   apt-transport-https
+  gnupg
   update-notifier-common
 ]
 
@@ -27,6 +28,13 @@ file "/etc/motd.tail" do
   action :delete
 end
 
+template "/etc/apt/preferences.d/99-chef" do
+  source "preferences.erb"
+  owner "root"
+  group "root"
+  mode 0o644
+end
+
 apt_update "/etc/apt/sources.list" do
   action :nothing
 end