diff options
author | intrigeri <intrigeri@boum.org> | 2010-12-16 13:02:28 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2010-12-16 13:02:28 +0100 |
commit | 4765a02564ddadeeafcb87fdce7d077ec6972c02 (patch) | |
tree | 2f4ab733a1849fe355c71df3da675465c55b104e /manifests | |
parent | c0377ca7377ed9ab19e319996e7ec5ad3c179070 (diff) |
New class: apt::dist_upgrade.
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/dist_upgrade.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/dist_upgrade.pp b/manifests/dist_upgrade.pp new file mode 100644 index 0000000..9e26769 --- /dev/null +++ b/manifests/dist_upgrade.pp @@ -0,0 +1,11 @@ +class apt::dist_upgrade { + + include apt::update + + exec { 'apt_dist-upgrade': + command => "/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade", + refreshonly => true, + require => Exec['apt_updated'], + } + +} |