summaryrefslogtreecommitdiff
path: root/puppet/manifests
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-03-17 20:43:11 +0100
committervarac <varacanero@zeromail.org>2016-03-31 10:54:43 +0200
commitbdba3c13d48960e275ddd208527b8736fa518e23 (patch)
treeb432b5c8afbcc9282110deb89d619cfc8754c6dc /puppet/manifests
parentb163e19053d8bda055476ff2a9244411e7e1cfa9 (diff)
[feat] Dont install recommended packages
By default, Puppet installs recommended packages. We turn this off for all apt Package resources.
Diffstat (limited to 'puppet/manifests')
-rw-r--r--puppet/manifests/site.pp3
1 files changed, 3 insertions, 0 deletions
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, ', ')