From: Peter Palfrader Date: Tue, 26 Jul 2016 12:10:32 +0000 (+0200) Subject: apt: do not download norwegian and french translations X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=5062203e1ba0973a9fb6fc3771f6482e3bd07fe5;p=mirror%2Fdsa-puppet.git apt: do not download norwegian and french translations --- diff --git a/modules/debian-org/files/apt.conf.d/local-langs b/modules/debian-org/files/apt.conf.d/local-langs new file mode 100644 index 000000000..3e9ff30d5 --- /dev/null +++ b/modules/debian-org/files/apt.conf.d/local-langs @@ -0,0 +1 @@ +Acquire::Languages { "en"; "none"; }; diff --git a/modules/debian-org/manifests/init.pp b/modules/debian-org/manifests/init.pp index 90291be79..d49feca8c 100644 --- a/modules/debian-org/manifests/init.pp +++ b/modules/debian-org/manifests/init.pp @@ -237,6 +237,9 @@ class debian-org { file { '/etc/apt/apt.conf.d/local-pdiffs': source => 'puppet:///modules/debian-org/apt.conf.d/local-pdiffs', } + file { '/etc/apt/apt.conf.d/local-langs': + source => 'puppet:///modules/debian-org/apt.conf.d/local-langs', + } file { '/etc/timezone': source => 'puppet:///modules/debian-org/timezone', notify => Exec['dpkg-reconfigure tzdata -pcritical -fnoninteractive'],