diff --git a/manifests/ipmi.pp b/manifests/ipmi.pp
index ea5e48d88bc9af4a41632da173d6b708ac1b1c96..8f278353793e7d7d41b95b8355664214c2bd857c 100644
--- a/manifests/ipmi.pp
+++ b/manifests/ipmi.pp
@@ -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',
diff --git a/manifests/pam/debian.pp b/manifests/pam/debian.pp
index 7d96a8abf64870aa6bfd7236fe4dc1d2e236132d..816725971ba640448986c602f516ea23908c6246 100644
--- a/manifests/pam/debian.pp
+++ b/manifests/pam/debian.pp
@@ -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',