File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 4747 # TODO: Include file into the wazuh/wazuh-puppet project or use file { checksum => '..' } for this instead of the exec construct.
4848 exec { 'cleanup /etc/filebeat/wazuh-template.json' :
4949 command => ' /bin/rm /etc/filebeat/wazuh-template.json' ,
50- unless => " /bin/cmp -s '/etc/filebeat/wazuh-template.json' <(curl -s https://raw.githubusercontent.com/wazuh/wazuh/${wazuh_extensions_version} /extensions/elasticsearch/7.x/wazuh-template.json)" ,
50+ onlyif => ' /bin/test -f /etc/filebeat/wazuh-template.json' ,
51+ unless => " /bin/curl -s 'https://raw.githubusercontent.com/wazuh/wazuh/${wazuh_extensions_version} /extensions/elasticsearch/7.x/wazuh-template.json' | /bin/cmp -s '/etc/filebeat/wazuh-template.json'" ,
5152 }
5253 -> file { ' /etc/filebeat/wazuh-template.json' :
5354 owner => ' root' ,
You can’t perform that action at this time.
0 commit comments