Update the indexer-ism-init.sh script to parametrize the path of the wazuh-template.
Logs example
[root@rhel7 vagrant]# bash indexer-ism-init.sh -p $(cat password.txt) -t ./wazuh-template.json
Will create 'wazuh' index template
SUCC: 'wazuh' template created or updated
Will create index templates to configure the alias
SUCC: 'wazuh-alerts' template created or updated
SUCC: 'wazuh-archives' template created or updated
Will create the 'rollover_policy' policy
SUCC: 'rollover_policy' policy created
Will create initial indices for the aliases
SUCC: 'wazuh-alerts' write index created
SUCC: 'wazuh-archives' write index created
SUCC: Indexer ISM initialization finished successfully.
Tests
Build the package in any supported platform
[ ] Linux
[ ] Windows
[ ] macOS
[ ] Solaris
[ ] AIX
[ ] HP-UX
[ ] Package installation
[ ] Package upgrade
[ ] Package downgrade
[ ] Package remove
[ ] Package install/remove/install
[ ] Change added to CHANGELOG.md
Tests for Linux RPM
[ ] Build the package for x86_64
[ ] Build the package for i386
[ ] Build the package for armhf
[ ] Build the package for aarch64
[ ] %files section is correctly updated if necessary
Tests for Linux deb
[ ] Build the package for x86_64
[ ] Build the package for i386
[ ] Build the package for armhf
[ ] Build the package for aarch64
[ ] Package install/remove/install
[ ] Package install/purge/install
[ ] Check file permissions after installing the package
Tests for macOS
[ ] Test the package from macOS Sierra to Mojave
Tests for Solaris
[ ] Test the package on Solaris 10
[ ] Test the package on Solaris 11
[ ] Check file permissions on Solaris 11 template
Tests for IBM AIX
[ ] %files section is correctly updated if necessary
Description
Update the
indexer-ism-init.sh
script to parametrize the path of the wazuh-template.Logs example
Tests
%files
section is correctly updated if necessary%files
section is correctly updated if necessary