example42 / puppet-splunk

Splunk Puppet Module
http://www.example42.com
Other
12 stars 29 forks source link

fix to include module to prepare forwarder install in larger environment, but have absent=true #33

Closed fleXible closed 8 years ago

fleXible commented 8 years ago

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.

alvagante commented 8 years ago

+1