dev-sec / puppet-os-hardening

This puppet module provides numerous security-related configurations, providing all-round base protection.
http://dev-sec.io/
Apache License 2.0
279 stars 101 forks source link

Replace legacy architecture fact with structed fact os.architecture #309

Open slauger opened 1 year ago

slauger commented 1 year ago

The fact $architecture is deprecated.

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Unknown variable: '::architecture'.

This MR replaces it with the fact with $facts['os']['architecture‘].