solar-resources/resources/nova_api_puppet/actions/remove.pp
Bogdan Dobrelya ce6db69711 Fix remove nova api resource
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-08-03 16:37:40 +02:00

18 lines
356 B
Puppet

class { 'nova::api':
ensure_package => 'absent',
enabled => false,
admin_password => 'not important as removed'
}
include nova::params
exec { 'post-nova_config':
command => '/bin/echo "Nova config has changed"',
refreshonly => true,
}
package { 'nova-common':
name => $nova::params::common_package_name,
ensure => 'absent',
}