Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Add FIPS mode support to Faros #143

Merged
merged 9 commits into from
Jul 1, 2021
Prev Previous commit
Next Next commit
Add FIPS mode to inventory
  • Loading branch information
hfenner authored Jun 23, 2021
commit 6bd6963173e61a015a8cca51335f524ffff53cd2
1 change: 1 addition & 0 deletions app/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ def main(config, ipam, inv):
extra_nodes=extra_nodes,
ignored_macs=config['IGNORE_MACS'],
dns_forwarders=[item['server'] for item in json.loads(config.get('DNS_FORWARDERS', '[]'))],
fips_mode=config['FIPS_MODE'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

config.get('FIPS_MODE', 'False') == 'True'

This will account for legacy configs without a FIPS_MODE parameter.

proxy=config['PROXY']=="True",
proxy_http=config.get('PROXY_HTTP', ''),
proxy_https=config.get('PROXY_HTTPS', ''),
Expand Down