Fix Neutron enable_*_agent* Hiera parameters
authorEmilien Macchi <emilien@redhat.com>
Thu, 7 Apr 2016 14:57:38 +0000 (10:57 -0400)
committerEmilien Macchi <emilien@redhat.com>
Thu, 14 Apr 2016 18:53:57 +0000 (18:53 +0000)
commit887f35b0f1fcc2218636564948f36170ed077934
tree95fbada70d22fa37f1fe8cfde0a4ce52e3b2312a
parentd600cb4c5edba1b38406f70dc0bd45139078bda3
Fix Neutron enable_*_agent* Hiera parameters

This change will fix a logic error when L3 agent was disabled, where
a Pacemaker constraint (neutron-dhcp-agent-to-l3-agent-constraint) were
still looking for l3_agent_service in the Puppet catalog, but could not
because L3 agent was disabled.
It was sending this Puppet error:
Error: Could not find dependency
Pacemaker::Resource::Service[neutron-l3-agent] for
Pacemaker::Constraint::Base[neutron-dhcp-agent-to-l3-agent-constraint]

Change-Id: I0e5d24d844810c58a3205303399d1c20773af3dd
puppet/manifests/overcloud_controller_pacemaker.pp