Closed adrianlzt closed 10 years ago
Yes, you're right, it was a workaround. I was using it to provision with vagrant so I didn't think in recurrent executions.
I was using splunk 6, and seems that there is no way to generate the init.d script with the license parameter. Another workaround is to define a file type to write the init.d file.
On Fri, Jan 17, 2014 at 4:14 PM, Alessandro Franceschi < notifications@github.com> wrote:
I can't test this quickly. The command Exec['splunk-accept-license'] looks a bit too much "quick & dirty" and I think it's executed everytime. Also it changes a file that would be overwritten at a package installation. Isn't it possible to just pass it via command like ? What Splunk version are you using?
— Reply to this email directly or view it on GitHubhttps://github.com/example42/puppet-splunk/pull/10#issuecomment-32613646 .
610f0fbe9860c78c74f9a6fd2dbc580a3b176b60 should fix this
I can't test this quickly. The command Exec['splunk-accept-license'] looks a bit too much "quick & dirty" and I think it's executed everytime. Also it changes a file that would be overwritten at a package installation. Isn't it possible to just pass it via command like ? What Splunk version are you using?