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
Merged
2 changes: 1 addition & 1 deletion app/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +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'],
fips_mode=config.get('FIPS_MODE', 'False') == 'True',
proxy=config['PROXY']=="True",
proxy_http=config.get('PROXY_HTTP', ''),
proxy_https=config.get('PROXY_HTTPS', ''),
Expand Down
2 changes: 1 addition & 1 deletion app/playbooks/config.d/cluster/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, path, footer, rtr_interfaces):
self.cluster = ParameterCollection('cluster', 'Cluster Configuration', [
PasswordParameter('ADMIN_PASSWORD', 'Adminstrator Password'),
PasswordParameter('PULL_SECRET', 'Pull Secret'),
Parameter('FIPS_MODE', 'Fips Mode')
BooleanParameter('FIPS_MODE', 'FIPS Mode', 'False')
])
self.architecture = ParameterCollection('architecture', 'Host Record Configuration', [
StaticParameter('MGMT_PROVIDER', 'Machine Management Provider', 'ilo'),
Expand Down