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:
parent
44b3a2b331
commit
3b47f97063
@ -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']
|
||||
|
@ -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']
|
||||
|
Loading…
Reference in New Issue
Block a user