summaryrefslogtreecommitdiff
path: root/manifests/reboot_required_notify.pp
blob: a538c9ae274dfa258e28450f8d7989aeb9a0bb3e (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': }
  }
}