module-apt/manifests/dist_upgrade.pp

14 lines
289 B
ObjectPascal
Raw Normal View History

2010-12-16 13:02:28 +01:00
class apt::dist_upgrade {
if $apt::disable_update == false {
include apt::update
}
2010-12-16 13:02:28 +01:00
exec { 'apt_dist-upgrade':
command => "/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade",
refreshonly => true,
require => Exec['apt_updated'],
}
}