diff --git a/manifests/sysctl.pp b/manifests/sysctl.pp index 84f0d13..741f9ad 100644 --- a/manifests/sysctl.pp +++ b/manifests/sysctl.pp @@ -30,7 +30,7 @@ ) { # set variables - if $::architecture == 'amd64' or $::architecture == 'x86_64' { + if $facts['os']['architecture'] == 'amd64' or $facts['os']['architecture'] == 'x86_64' { $x86_64 = true } else { $x86_64 = false