2016-06-29 19:39:14 +02:00
|
|
|
class apt::dist_upgrade (
|
|
|
|
$timeout = 300,
|
|
|
|
) {
|
2010-12-16 13:02:28 +01:00
|
|
|
|
|
|
|
exec { 'apt_dist-upgrade':
|
2013-01-02 14:12:11 +01:00
|
|
|
command => '/usr/bin/apt-get -q -y -o \'DPkg::Options::=--force-confold\' dist-upgrade',
|
2010-12-16 13:02:28 +01:00
|
|
|
refreshonly => true,
|
2016-06-29 19:39:14 +02:00
|
|
|
timeout => $timeout,
|
2016-01-26 14:42:17 +01:00
|
|
|
before => Exec['apt_updated']
|
2010-12-16 13:02:28 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|