summaryrefslogtreecommitdiff
path: root/manifests/reboot_required_notify.pp
blob: efd8aeb93a58a6b58a8f115aa73eda50a1fa514f (plain)
1
2
3
4
5
6
7
8
9
10
11
class apt::reboot_required_notify {

  if versioncmp($::operatingsystemmajrelease, 8) >= 0 {
    class { 'apt::reboot_required_notify::jessie': }
    # Clean up systems that were upgraded from Wheezy or earlier:
    class { 'apt::reboot_required_notify::wheezy': ensure => absent }
  } else {
    class { 'apt::reboot_required_notify::wheezy': }
  }

}