From 28adf389cbb58d8db65b1dd8d7152f0c2f0beff0 Mon Sep 17 00:00:00 2001
From: Emilien Macchi <emilien@redhat.com>
Date: Fri, 8 Mar 2019 12:24:39 -0500
Subject: [PATCH] snmp: remove ununsed trapsink

The snmptrap isn't used anywhere by our Telemetry services, so we don't
need it and can avoid a unused snmp binding on the host.

Change-Id: I31119ae9ec0ecda04f8983cb338f5af8d1b98989
---
 manifests/profile/base/snmp.pp                 | 1 -
 spec/classes/tripleo_profile_base_snmp_spec.rb | 1 -
 2 files changed, 2 deletions(-)

diff --git a/manifests/profile/base/snmp.pp b/manifests/profile/base/snmp.pp
index 6c26e1c48..6eec66c73 100644
--- a/manifests/profile/base/snmp.pp
+++ b/manifests/profile/base/snmp.pp
@@ -68,7 +68,6 @@ class tripleo::profile::base::snmp (
                           'proc  cron',
                           'includeAllDisks  10%',
                           'master agentx',
-                          'trapsink localhost public',
                           'iquerySecName internalUser',
                           'rouser internalUser',
                           'defaultMonitors yes',
diff --git a/spec/classes/tripleo_profile_base_snmp_spec.rb b/spec/classes/tripleo_profile_base_snmp_spec.rb
index c8a7074f2..c21b135e4 100644
--- a/spec/classes/tripleo_profile_base_snmp_spec.rb
+++ b/spec/classes/tripleo_profile_base_snmp_spec.rb
@@ -36,7 +36,6 @@ describe 'tripleo::profile::base::snmp' do
             'proc  cron',
             'includeAllDisks  10%',
             'master agentx',
-            'trapsink localhost public',
             'iquerySecName internalUser',
             'rouser internalUser',
             'defaultMonitors yes',