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
some resource types. The necessary dependency is already enforced by
another autorequire which depends on service::end anchor.

Change-Id: I0993e2c9ed80d476ca984edf9d6167818a1cb1bb
This commit is contained in:
Takashi Kajinami 2022-01-20 22:50:58 +09:00
parent 44b3a2b331
commit 3b47f97063
2 changed files with 0 additions and 8 deletions

View File

@ -49,10 +49,6 @@ Puppet::Type.newtype(:nova_aggregate) do
ensurable
autorequire(:nova_config) do
['auth_url', 'project_name', 'username', 'password']
end
# Require the nova-api service to be running
autorequire(:anchor) do
['nova::service::end']

View File

@ -55,10 +55,6 @@ Puppet::Type.newtype(:nova_flavor) do
ensurable
autorequire(:nova_config) do
['auth_url', 'project_name', 'username', 'password']
end
# Require the nova-api service to be running
autorequire(:anchor) do
['nova::service::end']