Skip to content

Commit dc1837a

Browse files
shubhamshinde360joshcooper
authored andcommitted
(FACT-3442) Update os.architecture fact for debian and ubuntu to arm64
1 parent 6fac270 commit dc1837a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acceptance/lib/facter/acceptance/base_fact_utils.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def debian_expected_facts(agent)
8181
os_hardware = 'x86_64'
8282
processor_model_pattern = /(Intel\(R\).*)|(AMD.*)/
8383
elsif agent['platform'] =~ /aarch64/
84-
os_arch = 'aarch64'
84+
os_arch = 'arm64'
8585
os_hardware = 'aarch64'
8686
processor_model_pattern = // # FACT-3439 - facter doesn't figure out the processor type on these machines
8787
else
@@ -391,7 +391,7 @@ def ubuntu_expected_facts(agent)
391391
os_hardware = 'x86_64'
392392
processor_model_pattern = /(Intel\(R\).*)|(AMD.*)/
393393
elsif agent['platform'] =~ /aarch64/
394-
os_arch = 'aarch64'
394+
os_arch = 'arm64'
395395
os_hardware = 'aarch64'
396396
processor_model_pattern = // # facter doesn't figure out the processor type on these machines
397397
else

0 commit comments

Comments
 (0)