From 01bed7210ca5d774021f356a2f89980c56fc41c8 Mon Sep 17 00:00:00 2001 From: Gael Chamoulaud Date: Sat, 1 Dec 2018 08:50:31 +0100 Subject: [PATCH] Add the right ironic_inspector config file path Patch #3 to fix a stupid thing. Change-Id: If4b893cfc95b35cae9af2d7168030b9dbdbc73ec Signed-off-by: Gael Chamoulaud (cherry picked from commit d00b06b3cec3e99cfb5d9814d706f5bff4aaa3aa) --- validations/dhcp-introspection.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/validations/dhcp-introspection.yaml b/validations/dhcp-introspection.yaml index 7b3450afe..d534e0eb6 100644 --- a/validations/dhcp-introspection.yaml +++ b/validations/dhcp-introspection.yaml @@ -15,11 +15,11 @@ tasks: - name: Look up the introspection interface become: True - ini: path=/var/lib/config-data/puppet-generated/etc/ironic-inspector/inspector.conf section=iptables key=dnsmasq_interface + ini: path=/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf section=iptables key=dnsmasq_interface register: interface - name: Look up the introspection interface from the deprecated option become: True - ini: path=/var/lib/config-data/puppet-generated/etc/ironic-inspector/inspector.conf section=firewall key=dnsmasq_interface + ini: path=/var/lib/config-data/puppet-generated/ironic_inspector/etc/ironic-inspector/inspector.conf section=firewall key=dnsmasq_interface register: interface_deprecated - name: Look for rogue DHCP servers script: files/rogue_dhcp.py {{ interface.value or interface_deprecated.value or 'br-ctlplane' }}