X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/e0288536f101ddeef1bb700fa26388a5a6b30608..94b26f4794c7ff6a16e956953e00f7bdd738080b:/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