summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/manifests/dist_upgrade.pp
blob: 87a2fc00269b3601dd0ec30dbf84a7749f194f05 (plain)
1
2
3
4
5
6
7
8
9
10
11
class site_apt::dist_upgrade inherits apt::dist_upgrade {

  if $::apt_running == 'true' { 
    fail ('apt-get is running in background - Please wait until it finishes. Exiting.')
  }
  # ensue dist-upgrade on every puppetrun
  Exec['apt_dist-upgrade']{
    refreshonly => false,
  }

}