Skip to content

Commit

Permalink
R2.20 missing /etc/snmp dir
Browse files Browse the repository at this point in the history
Analytics-Underlay: Overlay-underlay not working in centos 6.5
R2.20 and Ubuntu 14.04 Juno

Change-Id: Ia18ba6dc660b463ec6c0d40b82485889f016ea71
Closes-Bug: #1453380
  • Loading branch information
tedghose committed May 12, 2015
1 parent 4282454 commit be87f28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrail_provisioning/collector/setup.py
Expand Up @@ -110,6 +110,7 @@ def fixup_contrail_alarm_gen(self):
def fixup_contrail_snmp_collector(self):
conf_fl = '/etc/contrail/contrail-snmp-collector.conf'
with settings(warn_only=True):
local("mkdir -p /etc/snmp")
local("echo 'mibs +ALL' > /etc/snmp/snmp.conf")
local("[ -f %s ] || > %s" % (conf_fl, conf_fl))
self.set_config(conf_fl, 'DEFAULTS', 'zookeeper',
Expand Down

0 comments on commit be87f28

Please sign in to comment.