X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/212ee87f61f3ea25de35ea27d72f0186696aa6ee..f1fd88c6c91dc9119d630bd48eb02c90ebb41e09:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index a86239422..14e37dd9b 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -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