$servicefiles = 'absent'
}
- # the virtual facter needs virt-what on jessie to work
- if versioncmp($::lsbmajdistrelease, '9') < 0 {
- package { 'virt-what': ensure => installed }
- } else {
- package { 'virt-what': ensure => purged }
- }
+ # the virtual facter needs virt-what on jessie to work; clean up.
+ package { 'virt-what': ensure => purged }
$samhain_recipients = hiera('samhain_recipients')
$root_mail_alias = hiera('root_mail_alias')
content => "Etc/UTC\n",
notify => Exec['dpkg-reconfigure tzdata -pcritical -fnoninteractive'],
}
- if versioncmp($::lsbmajdistrelease, '9') >= 0 { # jessie has a regular file there, for instance
- file { '/etc/localtime':
- ensure => 'link',
- target => '/usr/share/zoneinfo/Etc/UTC',
- notify => Exec['dpkg-reconfigure tzdata -pcritical -fnoninteractive'],
- }
+ file { '/etc/localtime':
+ ensure => 'link',
+ target => '/usr/share/zoneinfo/Etc/UTC',
+ notify => Exec['dpkg-reconfigure tzdata -pcritical -fnoninteractive'],
}
file { '/etc/puppet/puppet.conf':
content => template('debian_org/puppet.conf.erb'),