Merge "inspector: Show warning when dhcp hostsdir is not configured"
This commit is contained in:
commit
53c4c4cc2a
@ -39,6 +39,10 @@ class ironic::inspector::pxe_filter::dnsmasq (
|
||||
include ironic::deps
|
||||
include ironic::inspector
|
||||
|
||||
if $::ironic::inspector::dnsmasq_dhcp_hostsdir == undef {
|
||||
warning("The ironic::inspector::dnsmasq_dhcp_hostsdir parameter should be \
|
||||
configured properly to use dnsmasq PXE filter.")
|
||||
}
|
||||
$hostsdir = pick($::ironic::inspector::dnsmasq_dhcp_hostsdir, $facts['os_service_default'])
|
||||
|
||||
ironic_inspector_config {
|
||||
|
Loading…
Reference in New Issue
Block a user