solar-resources/resources/nova_compute_puppet/actions/remove.pp
Bogdan Dobrelya c02055cc20 Add exec post config and network refresh to n-compute
Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
2015-08-03 16:38:39 +02:00

20 lines
396 B
Puppet

class { 'nova::compute':
ensure_package => 'absent',
enabled => false,
}
include nova::params
exec { 'post-nova_config':
command => '/bin/echo "Nova config has changed"',
refreshonly => true,
}
exec { 'networking-refresh':
command => '/sbin/ifdown -a ; /sbin/ifup -a',
}
package { 'nova-common':
name => $nova::params::common_package_name,
ensure => 'absent',
}