You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since wazuh::kibana is using exec to remove and install the plugin, it is being done in every run. We should restrict its run condition on some changes.
Info: Removing old Wazuh Kibana Plugin...: Scheduling refresh of Service[kibana]
Notice: /Stage[main]/Wazuh::Kibana/Exec[Installing Wazuh App...]/returns: executed successfully
Info: /Stage[main]/Wazuh::Kibana/Exec[Installing Wazuh App...]: Scheduling refresh of Service[kibana]
Notice: /Stage[main]/Wazuh::Kibana/Exec[Removing .wazuh index...]/returns: executed successfully
Info: /Stage[main]/Wazuh::Kibana/Exec[Removing .wazuh index...]: Scheduling refresh of Service[kibana]
Notice: /Stage[main]/Wazuh::Kibana/File[/usr/share/kibana/plugins/wazuh/wazuh.yml]/ensure: defined content as '{md5}b111c5cbe93acf8141bdca29fd7850fa'
Info: /Stage[main]/Wazuh::Kibana/File[/usr/share/kibana/plugins/wazuh/wazuh.yml]: Scheduling refresh of Service[kibana]
Notice: /Stage[main]/Wazuh::Kibana/Exec[Verify Kibana folders owner]/returns: executed successfully
Notice: /Stage[main]/Wazuh::Kibana/Service[kibana]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Wazuh::Kibana/Service[kibana]: Unscheduling refresh on Service[kibana]
The text was updated successfully, but these errors were encountered:
In this case, it may be interesting to include a conditional statement checking the current plugin version within the remove/install tasks to ensure idempotence. i.e: check the current plugin version using the onlyif or unless statements.
As soon as our workflow allows us we will address it. Thanks for your contribution !
akshatgit
changed the title
KIbana Plugin is removed and installed in every puppet run
Kibana Plugin is removed and installed in every puppet run
Sep 2, 2020
Since
wazuh::kibana
is usingexec
to remove and install the plugin, it is being done in every run. We should restrict its run condition on some changes.The text was updated successfully, but these errors were encountered: