diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-06-30 14:24:21 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-06-30 14:24:21 -0300 |
commit | f2ac56ebcabd8190e8fadccf3890a8430f7f7af1 (patch) | |
tree | f52ee1511166840f8631585fe04273746f6a9846 /manifests/init.pp | |
parent | 1ff45ac481600d9e51e772cd17e3c10edf5dd7e9 (diff) | |
download | puppet-apt-f2ac56ebcabd8190e8fadccf3890a8430f7f7af1.tar.gz puppet-apt-f2ac56ebcabd8190e8fadccf3890a8430f7f7af1.tar.bz2 |
Changing apt update command to be dash-compatible
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index dcd4b20..00f0396 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -102,7 +102,7 @@ class apt { } if $apt_update_method == 'exec' { - exec { "/usr/bin/apt-get update && /usr/bin/apt-get autoclean #hourly": + exec { "/usr/bin/apt-get update > /dev/null 2>&1 && /usr/bin/apt-get autoclean > /dev/null 2>&1 #hourly": require => [ File["/etc/apt/sources.list"], File["/etc/apt/preferences"], File[apt_config] ], # Another Semaphor for all packages to reference alias => apt_updated, |