puppet-nova/lib/puppet/provider/nova_project
Dan Bode bcca7bedc4 Replace optional_commands with commands in providers
Optional commands can be used to specify that a
command may not exist when provider suitability
is determined. This is because it may be installed
during the same run where it needs to be used.

Previously, an empty default provider was created
just to prevent failures when provider suitability
was determined. This also required that the provider
be explicitly overridden when the type is used.

Using optional_commands instead of command reduces
the amount of required code. It allows the default
providers to be removed as well as the explicit
provider attributes.

This changed has been implemented for the following
types:
  - nova_manage
  - nova_network
  - nova_admin
2012-01-24 22:00:38 -08:00
..
nova_manage.rb Replace optional_commands with commands in providers 2012-01-24 22:00:38 -08:00