From aa69cade0361530f65e4ba28fa0cb39c6af0c68d Mon Sep 17 00:00:00 2001 From: Vitalii Kovalchuk Date: Thu, 6 Oct 2016 16:01:37 +0300 Subject: [PATCH] Fix restart of contrail-vcenter-plugin service Change-Id: Ib2f4ef6443ba44c338151f676ac3c77a05a3ea5b Closes-Bug: #1630143 --- .../puppet/modules/contrail/manifests/compute/vmware.pp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/deployment_scripts/puppet/modules/contrail/manifests/compute/vmware.pp b/deployment_scripts/puppet/modules/contrail/manifests/compute/vmware.pp index 10084116a..35067b090 100644 --- a/deployment_scripts/puppet/modules/contrail/manifests/compute/vmware.pp +++ b/deployment_scripts/puppet/modules/contrail/manifests/compute/vmware.pp @@ -38,11 +38,13 @@ class contrail::compute::vmware { file {'/etc/contrail/contrail-vcenter-plugin.conf': ensure => present, content => template('contrail/contrail-vcenter-plugin.conf.erb'), - }~> + } # Enable and start service service { 'contrail-vcenter-plugin': - ensure => running, - enable => true, + ensure => running, + enable => true, + subscribe => [File['/etc/contrail/ESXiToVRouterIp.map'], + File['/etc/contrail/contrail-vcenter-plugin.conf'],] } Nova_Config <||> ~>