Fix restart of contrail-vcenter-plugin service

Change-Id: Ib2f4ef6443ba44c338151f676ac3c77a05a3ea5b
Closes-Bug: #1630143
This commit is contained in:
Vitalii Kovalchuk 2016-10-06 16:01:37 +03:00
parent 681f43c59b
commit aa69cade03

View File

@ -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 <||> ~>