sous-chefs / chef-splunk

Development repository for the chef-splunk cookbook
https://supermarket.chef.io/cookbooks/chef-splunk
Apache License 2.0
75 stars 122 forks source link

splunk version conflict after upgrades can cause Splunk to be downgraded #183

Closed haidangwa closed 4 years ago

haidangwa commented 4 years ago

After an upgrade, the version specified by node['splunk']['server']['version'] or node['splunk']['forwarder']['version'] can be behind the version specified by node['splunk']['server']['upgrade']['version'] or node['splunk']['forwarder']['upgrade']['version']. respectively. This can cause the installer to downgrade Splunk Server/Forwarder on the next chef run after an upgrade.

REPRO:

Chef will downgrade Splunk after the last step