Fix puppet resource to stop neutron service

Change-Id: Ia52d515b57b4aa578960854467426e6d070e680c
This commit is contained in:
Artem Savinov 2016-04-14 19:57:46 +03:00
parent cc08392248
commit 0ef53ef739
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ exec {'neutron-server-stop':
path => '/usr/sbin:/usr/bin:/sbin:/bin',
command => "service ${::neutron::params::server_service} stop",
provider => 'shell',
onlyif => "service ${::neutron::params::server_service} status|grep -q running",
}
neutron_config {