Merge pull request #5 from salt-formulas/pr_fix_missing_entity_before_deployment

fix missing rsyslog_util.syslog_file_match
diff --git a/rsyslog/meta/heka.yml b/rsyslog/meta/heka.yml
index e748d27..701369c 100644
--- a/rsyslog/meta/heka.yml
+++ b/rsyslog/meta/heka.yml
@@ -14,6 +14,7 @@
         syslog_pattern: '%TIMESTAMP% %HOSTNAME% %syslogtag%%msg:::sp-if-no-1st-sp%%msg%\n'
         {%- endif %}
   input:
+    {%- if salt.get('rsyslog_util.syslog_file_match', None) %}
     {%- set file_match = salt['rsyslog_util.syslog_file_match'](global.output) %}
     {%- if file_match|length > 0 %}
     {%- for logdir, pattern in file_match.iteritems() %}
@@ -26,6 +27,7 @@
       splitter: "TokenSplitter"
     {%- endfor %}
     {%- endif %}
+    {%- endif %}
     syslog_haproxy:
       engine: logstreamer
       log_directory: "/var/log"