summaryrefslogtreecommitdiff
path: root/manifests/dist_upgrade.pp
blob: eb3207c8a5b36314bc634166746f716a864f6453 (plain)
1
2
3
4
5
6
7
8
9
10
11
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['update_apt'];
  }
}