aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/ads.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/server/ads.pp')
-rw-r--r--manifests/server/ads.pp6
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'