diff options
author | nadir <nadir-technik@nadir.org> | 2012-11-08 10:07:38 +0100 |
---|---|---|
committer | nadir <nadir-technik@nadir.org> | 2012-11-08 10:07:38 +0100 |
commit | 92e35992ca6e3e4054ac928fe4c266ba967503dc (patch) | |
tree | 5df5d27013098685894981dcdbf20ff692dfaf31 /manifests/init.pp | |
parent | 4f433dbd5238e6b5211d3b0f240ff58031c3da2b (diff) | |
download | puppet-apt-92e35992ca6e3e4054ac928fe4c266ba967503dc.tar.gz puppet-apt-92e35992ca6e3e4054ac928fe4c266ba967503dc.tar.bz2 |
added $apt_disable_update to disable "apt-get update" during puppetruns
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 2ae691f..794347f 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -40,6 +40,11 @@ class apt { '' => 'http://archive.ubuntu.com/ubuntu', default => "${apt_ubuntu_url}", } + $disable_update = $apt_disable_update ? { + '' => false, + default => $apt_disable_update + } + case $operatingsystem { 'debian': { $repos = $apt_repos ? { |