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
1 changed files with 5 additions and 3 deletions

View File

@ -38,11 +38,13 @@ class contrail::compute::vmware {
file {'/etc/contrail/contrail-vcenter-plugin.conf': file {'/etc/contrail/contrail-vcenter-plugin.conf':
ensure => present, ensure => present,
content => template('contrail/contrail-vcenter-plugin.conf.erb'), content => template('contrail/contrail-vcenter-plugin.conf.erb'),
}~> }
# Enable and start service # Enable and start service
service { 'contrail-vcenter-plugin': service { 'contrail-vcenter-plugin':
ensure => running, ensure => running,
enable => true, enable => true,
subscribe => [File['/etc/contrail/ESXiToVRouterIp.map'],
File['/etc/contrail/contrail-vcenter-plugin.conf'],]
} }
Nova_Config <||> ~> Nova_Config <||> ~>