Remove inefficient usage of autorequire

This change removes inefficient usage of autorequire, with the wrong
resource name(The resource name should include section name) in
neutron_security_group. The necessary dependency is already enforced
by another autorequire which depends on service::end anchor.

Change-Id: I6bbc2e1a72142a22c30f45537be855bfb3c512c8
This commit is contained in:
Takashi Kajinami 2022-01-20 00:03:15 +09:00
parent b2f39ce9cc
commit d119c425b7

View File

@ -29,10 +29,6 @@ Puppet::Type.newtype(:neutron_security_group) do
ensurable
autorequire(:neutron_config) do
['auth_url', 'project_name', 'username', 'password']
end
# Require the neutron-server service to be running
autorequire(:anchor) do
['neutron::service::end']