Verified Commit 0abb52cf authored by Adam Lewenberg's avatar Adam Lewenberg
Browse files

fix typo in lsbmajdistrelease fact name

parent 5023e139
......@@ -51,10 +51,10 @@ class base::ipmi (
# default. But, if we are re-enabling we need to recover a file that
# we deleted. We then have to trigger systemd to load modules.
#
# Note: we add 0 to $::lsdbmajdistrelease to make the numerical
# Note: we add 0 to $::lsbmajdistrelease to make the numerical
# comparison work (this way, the code works in both Puppet 3 and
# Puppet 4).
if (($::operatingsystem == 'Debian') and (0 + $::lsdbmajdistrelease >= 8)) {
if (($::operatingsystem == 'Debian') and (0 + $::lsbmajdistrelease >= 8)) {
exec { 'Re-create /usr/lib/modules-load.d/ipmievd.conf':
command => '/usr/bin/apt-get install --reinstall ipmitool',
creates => '/usr/lib/modules-load.d/ipmievd.conf',
......
......@@ -7,7 +7,7 @@ class base::pam::debian {
package { 'libpam-afs-session': ensure => present }
# Starting with Debian jessie, pam-auth-update manages the common PAM files.
if ($::lsdbmajdistrelease < 8) {
if ($::lsbmajdistrelease < 8) {
file {
'/etc/pam.d/common-auth':
source => 'puppet:///modules/base/pam/etc/pam.d/common-auth',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment