aboutsummaryrefslogtreecommitdiff
path: root/manifests/dist_upgrade.pp
blob: 347ccc783097921446668a7f8ebff05fcd7fbe49 (plain)
1
2
3
4
5
6
7
8
9
10
11
class apt::dist_upgrade {

  if $apt::disable_update = false { include apt::update }

  exec { 'apt_dist-upgrade':
    command     => "/usr/bin/apt-get -q -y -o 'DPkg::Options::=--force-confold' dist-upgrade",
    refreshonly => true,
    require     => Exec['apt_updated'],
  }

}