apt: do not download norwegian and french translations
authorPeter Palfrader <peter@palfrader.org>
Tue, 26 Jul 2016 12:10:32 +0000 (14:10 +0200)
committerPeter Palfrader <peter@palfrader.org>
Tue, 26 Jul 2016 12:10:32 +0000 (14:10 +0200)
modules/debian-org/files/apt.conf.d/local-langs [new file with mode: 0644]
modules/debian-org/manifests/init.pp

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 (file)
index 0000000..3e9ff30
--- /dev/null
@@ -0,0 +1 @@
+Acquire::Languages { "en"; "none"; };
index 90291be..d49feca 100644 (file)
@@ -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'],