From 2ac79162239266b6dd0038b54903852675e7c54f Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 29 Nov 2012 15:57:18 -0500 Subject: disable apt pdiffs, they are slow on fast links --- puppet/modules/site_config/manifests/apt.pp | 6 ++++++ puppet/modules/site_config/manifests/init.pp | 9 ++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 puppet/modules/site_config/manifests/apt.pp (limited to 'puppet') diff --git a/puppet/modules/site_config/manifests/apt.pp b/puppet/modules/site_config/manifests/apt.pp new file mode 100644 index 00000000..c7490337 --- /dev/null +++ b/puppet/modules/site_config/manifests/apt.pp @@ -0,0 +1,6 @@ +class site_config::apt { + + apt::apt_conf { '90disable-pdiffs': + content => 'Acquire::PDiffs "false";'; + } +} diff --git a/puppet/modules/site_config/manifests/init.pp b/puppet/modules/site_config/manifests/init.pp index 8aa1b54d..7f67ad4e 100644 --- a/puppet/modules/site_config/manifests/init.pp +++ b/puppet/modules/site_config/manifests/init.pp @@ -1,9 +1,12 @@ class site_config { - # default class, use by all hosts + # default class, used by all hosts - include apt, lsb, git + include lsb, git - # configure ssh and inculde ssh-keys + # configure apt + include site_config::apt + + # configure ssh and include ssh-keys include site_config::sshd # configure /etc/resolv.conf -- cgit v1.2.3