X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e0288536f101ddeef1bb700fa26388a5a6b30608..52828e58aaa9b6de4231e34f769003a979e36817:/cookbooks/apt/recipes/default.rb diff --git a/cookbooks/apt/recipes/default.rb b/cookbooks/apt/recipes/default.rb index 3a660527d..14e37dd9b 100644 --- a/cookbooks/apt/recipes/default.rb +++ b/cookbooks/apt/recipes/default.rb @@ -28,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