Merge pull request #449 from wazuh/fix-agent-default-vars

Add new options to agent role's default variables
This commit is contained in:
Manuel Gutierrez 2020-07-16 18:28:11 +02:00 committed by GitHub
commit 9d32d123fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -39,6 +39,8 @@ wazuh_managers:
api_port: 55000
api_proto: 'http'
api_user: null
max_retries: 5
retry_interval: 5
wazuh_api_reachable_from_agent: false
wazuh_profile_centos: 'centos, centos7, centos7.6'
wazuh_profile_ubuntu: 'ubuntu, ubuntu18, ubuntu18.04'

View File

@ -16,6 +16,8 @@
{% endif %}
{% if manager.protocol is defined %}
<protocol>{{ manager.protocol }}</protocol>
{% endif %}
{% if manager.max_retries is defined and manager.retry_interval is defined %}
<max_retries>{{ manager.max_retries }}</max_retries>
<retry_interval>{{ manager.retry_interval }}</retry_interval>
{% endif %}