2010-12-16 13:02:28 +01:00
|
|
|
class apt::dist_upgrade {
|
|
|
|
|
2012-12-18 22:31:00 +01:00
|
|
|
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'],
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|