Merge "Fix condition for haproxy opencontrail tagdrop"
diff --git a/opencontrail/meta/telegraf.yml b/opencontrail/meta/telegraf.yml
index 523311b..c3224c9 100644
--- a/opencontrail/meta/telegraf.yml
+++ b/opencontrail/meta/telegraf.yml
@@ -243,7 +243,7 @@
           state: "Established"
     {%- endif %}
   {%- endif %}
-  {%- if pillar.haproxy.proxy is defined %}
+  {%- if pillar.haproxy is defined and pillar.haproxy.proxy is defined %}
     haproxy:
       tagdrop:
         proxy: ["contrail_collector_stats", "contrail_config_stats", "contrail_openstack_stats"]