When preparing for splunk_forwarder rollout in a larger multi-staged environment (dev/test/staging/production).
We wanted to include the puppet module already but have set absent=true so that we can roll the installation through the stages. While preparing the necessary hiera data, we ran into directory dependency issues in dev.
splunk::basedir/bin does not get created, because the rpm is not installed yet, but several file resources rely on the directory to be present.
I fixed the occurences and added the missing RSpec tests.
When preparing for splunk_forwarder rollout in a larger multi-staged environment (dev/test/staging/production).
We wanted to include the puppet module already but have set absent=true so that we can roll the installation through the stages. While preparing the necessary hiera data, we ran into directory dependency issues in dev.
splunk::basedir/bin does not get created, because the rpm is not installed yet, but several file resources rely on the directory to be present.
I fixed the occurences and added the missing RSpec tests.