12 lines
275 B
Puppet
12 lines
275 B
Puppet
class apt::dist_upgrade (
|
|
$timeout = 300,
|
|
) {
|
|
|
|
exec { 'apt_dist-upgrade':
|
|
command => '/usr/bin/apt-get -q -y -o \'DPkg::Options::=--force-confold\' dist-upgrade',
|
|
refreshonly => true,
|
|
timeout => $timeout,
|
|
before => Exec['apt_updated']
|
|
}
|
|
|
|
}
|