diff options
author | Adam Jahn <ajjahn@gmail.com> | 2015-12-07 18:32:33 -0500 |
---|---|---|
committer | Adam Jahn <ajjahn@gmail.com> | 2015-12-07 18:32:33 -0500 |
commit | 41660aec9c7e8a43f029b31d6f1ef9374487dac9 (patch) | |
tree | 1755c7e415b1f73d875bd0890e8699a2ca4773ef /manifests/server/ads.pp | |
parent | b1204f4bf04cd3ff52d3c2cf807836e8087d8afb (diff) | |
download | puppet-samba-41660aec9c7e8a43f029b31d6f1ef9374487dac9.tar.gz puppet-samba-41660aec9c7e8a43f029b31d6f1ef9374487dac9.tar.bz2 |
lint!
Diffstat (limited to 'manifests/server/ads.pp')
-rw-r--r-- | manifests/server/ads.pp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/server/ads.pp b/manifests/server/ads.pp index 1260fd1..7b496fe 100644 --- a/manifests/server/ads.pp +++ b/manifests/server/ads.pp @@ -23,13 +23,13 @@ class samba::server::ads($ensure = present, $map_readonly = 'no', $target_ou = 'Nix_Mashine') { - $krb5_user_package = $osfamily ? { + $krb5_user_package = $::osfamily ? { 'RedHat' => 'krb5-workstation', default => 'krb5-user', } - if $osfamily == 'RedHat' { - if $operatingsystemrelease =~ /^6\./ { + if $::osfamily == 'RedHat' { + if $::operatingsystemrelease =~ /^6\./ { $winbind_package = 'samba-winbind' } else { $winbind_package = 'samba-common' |