summaryrefslogtreecommitdiff
path: root/manifests/reboot_required_notify.pp
blob: 3463bb4b813dd216b10baa494b6c38f851a44b3a (plain)
1
2
3
4
5
6
7
8
9
10
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': }
  }
}