From bdba3c13d48960e275ddd208527b8736fa518e23 Mon Sep 17 00:00:00 2001 From: varac Date: Thu, 17 Mar 2016 20:43:11 +0100 Subject: [feat] Dont install recommended packages By default, Puppet installs recommended packages. We turn this off for all apt Package resources. --- puppet/manifests/site.pp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'puppet/manifests') diff --git a/puppet/manifests/site.pp b/puppet/manifests/site.pp index f012d6c8..ecda4012 100644 --- a/puppet/manifests/site.pp +++ b/puppet/manifests/site.pp @@ -6,6 +6,9 @@ Exec { path => '/usr/bin:/usr/sbin/:/bin:/sbin:/usr/local/bin:/usr/local/sbin' } +Package <| provider == 'apt' |> { + install_options => ['--no-install-recommends'], +} $services = hiera('services', []) $services_str = join($services, ', ') -- cgit v1.2.3