Deployment tasks updated to support plugin roles.
Roles for contrail-db, contrail-config and contrail-control added. Plugin tasks refactored to support new roles. Templates for config files updated. Change-Id: I236085c86dc18fe53f6a1d59dbcfafb170d64c18
This commit is contained in:
committed by
Oleksandr Martsyniuk
parent
66255d5074
commit
9198fdf508
@@ -75,18 +75,18 @@ class contrail::analytics {
|
||||
}
|
||||
|
||||
service { 'contrail-alarm-gen':
|
||||
ensure => stopped,
|
||||
enable => false,
|
||||
require => Package['contrail-openstack-analytics'],
|
||||
ensure => stopped,
|
||||
enable => false,
|
||||
require => Package['contrail-openstack-analytics'],
|
||||
}
|
||||
|
||||
service { 'supervisor-analytics':
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => [Package['contrail-openstack-analytics'],
|
||||
ensure => running,
|
||||
enable => true,
|
||||
require => [Package['contrail-openstack-analytics'],
|
||||
Service['redis-server'],
|
||||
Service['contrail-alarm-gen']],
|
||||
subscribe => [File['/etc/contrail/contrail-analytics-api.conf'],
|
||||
subscribe => [File['/etc/contrail/contrail-analytics-api.conf'],
|
||||
File['/etc/contrail/contrail-collector.conf'],
|
||||
File['/etc/contrail/contrail-query-engine.conf'],
|
||||
File['/etc/contrail/contrail-analytics-nodemgr.conf'],
|
||||
@@ -107,10 +107,10 @@ class contrail::analytics {
|
||||
}
|
||||
|
||||
cron { 'contrail-syslog':
|
||||
command => '/usr/local/sbin/contrailsyslog.sh',
|
||||
user => 'root',
|
||||
minute => '*/1',
|
||||
require => [
|
||||
command => '/usr/local/sbin/contrailsyslog.sh',
|
||||
user => 'root',
|
||||
minute => '*/1',
|
||||
require => [
|
||||
Service['supervisor-analytics'],
|
||||
File['contrailsyslog.sh'],
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user