Skip to content

Commit

Permalink
Handle removal of collector list from conf on upgrade
Browse files Browse the repository at this point in the history
o Changes to handle the removal of collector list from
contrail-analytics-api.conf and contrail-query-engine.conf on upgrade.

Change-Id: I51407bfbb20a340edae05ac0eec653d010c015b0
Partial-Bug: #1528770
  • Loading branch information
Sundaresan Rajangam committed Feb 6, 2016
1 parent 9abdf5a commit f983e9b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@

contrail_analytics_api_config {
'DEFAULTS/host_ip' : value => $host_control_ip;
'DEFAULTS/collectors' : ensure => 'absent';
'DEFAULTS/cassandra_server_list': value => "$cassandra_server_list";
'DEFAULTS/rest_api_port' : value => $rest_api_port_to_use;
'DEFAULTS/http_server_port' : value => '8090';
Expand All @@ -56,6 +57,7 @@
contrail_query_engine_config {
'DEFAULT/hostip' : value => $host_control_ip;
'DEFAULT/cassandra_server_list' : value => "$cassandra_server_list";
'DEFAULT/collectors' : ensure => 'absent';
'DEFAULT/log_local' : value => '1';
'DEFAULT/log_level' : value => 'SYS_NOTICE';
'DEFAULT/log_file' : value => '/var/log/contrail/contrail-query-engine.log';
Expand Down

0 comments on commit f983e9b

Please sign in to comment.