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

}