Skip to content

Commit

Permalink
fix: replace legacy architecture fact with structed fact os.architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
slauger committed Jul 13, 2023
1 parent c9c69e7 commit 3e5cd56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/sysctl.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e5cd56

Please sign in to comment.