Merge "inspector: Drop redundant hard-coded defaults"

This commit is contained in:
Zuul 2023-11-07 21:05:41 +00:00 committed by Gerrit Code Review
commit 4d9ea8925a

View File

@ -76,11 +76,11 @@
# #
# [*keep_ports*] # [*keep_ports*]
# (optional) Which ports to keep after introspection # (optional) Which ports to keep after introspection
# Defaults to 'all' # Defaults to $facts['os_service_default']
# #
# [*store_data*] # [*store_data*]
# (optional) Method for storing introspection data # (optional) Method for storing introspection data
# Defaults to 'none' # Defaults to $facts['os_service_default']
# #
# [*dnsmasq_ip_subnets*] # [*dnsmasq_ip_subnets*]
# (optional) List of hashes with keys: 'tag', 'ip_range', 'netmask', # (optional) List of hashes with keys: 'tag', 'ip_range', 'netmask',
@ -212,8 +212,8 @@ class ironic::inspector (
$ramdisk_logs_dir = '/var/log/ironic-inspector/ramdisk/', $ramdisk_logs_dir = '/var/log/ironic-inspector/ramdisk/',
$always_store_ramdisk_logs = $facts['os_service_default'], $always_store_ramdisk_logs = $facts['os_service_default'],
$add_ports = $facts['os_service_default'], $add_ports = $facts['os_service_default'],
$keep_ports = 'all', $keep_ports = $facts['os_service_default'],
$store_data = 'none', $store_data = $facts['os_service_default'],
Array[Hash] $dnsmasq_ip_subnets = [], Array[Hash] $dnsmasq_ip_subnets = [],
$dnsmasq_local_ip = '192.168.0.1', $dnsmasq_local_ip = '192.168.0.1',
Boolean $dnsmasq_dhcp_sequential_ip = true, Boolean $dnsmasq_dhcp_sequential_ip = true,