Bogdan Dobrelya 50d780c1a3 Fix nova_generic_service resource
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-09-03 08:02:47 +02:00

21 lines
565 B
Puppet

$service_title = $resource['input']['title']['value']
$package_name = $resource['input']['package_name']['value']
$service_name = $resource['input']['service_name']['value']
exec { 'post-nova_config':
command => '/bin/echo "Nova config has changed"',
}
nova::generic_service { $service_title:
ensure_package => 'absent',
enabled => false,
package_name => $package_name,
service_name => $service_name,
}
include nova::params
package { 'nova-common':
name => $nova::params::common_package_name,
ensure => 'absent',
}