From be286edb057db2f942652b3e1a6e0562958a6d74 Mon Sep 17 00:00:00 2001 From: K Jonathan Harker Date: Mon, 29 Aug 2016 16:36:00 -0700 Subject: [PATCH] Specify cacti ip addresses for snmp access Move openstack-specific configuration into the openstack_project module. This was previously hard-coded in the iptables module, but is now parameterized. Before the parameter can be given a site-agnostic default value, pass in the needed value here. Add both the IPs for both the old and new cacti servers as part of the service migration. Change-Id: I173ca1efae4644c89cfab68d6beeba0a1dae9ce2 Depends-On: I9394982811f8dcf0d63eccb782de04bf4a047ec7 Needed-By: Ibae45af594fc2b18024fcc2d6ef040afd4ddd926 --- modules/openstack_project/manifests/template.pp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/openstack_project/manifests/template.pp b/modules/openstack_project/manifests/template.pp index ad744d8f3b..5a3f26c6f1 100644 --- a/modules/openstack_project/manifests/template.pp +++ b/modules/openstack_project/manifests/template.pp @@ -62,6 +62,14 @@ class openstack_project::template ( public_udp_ports => $all_udp, rules4 => $iptables_rules4, rules6 => $iptables_rules6, + snmp_v4hosts => [ + '104.239.135.208', + '104.130.253.206', + ], + snmp_v6hosts => [ + '2001:4800:7819:104:be76:4eff:fe05:1d6a', + '2001:4800:7818:103:be76:4eff:fe04:7ed0', + ], } class { 'timezone':