From 0abb52cf55a88d7b11f3b10a33cba798528acc86 Mon Sep 17 00:00:00 2001 From: Adam Henry Lewenberg <adamhl@stanford.edu> Date: Tue, 15 Aug 2017 07:16:21 -0700 Subject: [PATCH] fix typo in lsbmajdistrelease fact name --- manifests/ipmi.pp | 4 ++-- manifests/pam/debian.pp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/ipmi.pp b/manifests/ipmi.pp index ea5e48d..8f27835 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 7d96a8a..8167259 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', -- GitLab