Installation

enable boot start at install time

Sqig
Path Finder

Hi. We're starting to deploy Splunk Universal Forwarder (currently v 5.0.8) using Puppet rather than a straight RPM-and-post-install-configuration routine.

All works flowlessly except for the fact that we cannot set Splunk to enable boot-start without actually executing a command (obviously, splunk enable boot-start) and also provide the admin credentials -- which we wouldn't really want to store inside the puppet module.

Is there a way we can enable auto-start at installation time? We use the /prefix= option and I wondered if there is a similar option to enable boot-start

Thanks.

grijhwani
Motivator

If you're Puppet savvy anyway, just use puppet to also deploy the init script directly (which is all enable boot-start does).

Or you could unroll and rebuild the rpm to have the post-script do it for you.

I would add that on every new install you will be challenged to accept the licence terms on the first run, so whatever you do part of the installation process is going to be to perform a dummy run if some kind with the "--accept-license" option.

Get Updates on the Splunk Community!

Splunk Platform | Upgrading your Splunk Deployment to Python 3.9

Splunk initially announced the removal of Python 2 during the release of Splunk Enterprise 8.0.0, aiming to ...

From Product Design to User Insights: Boosting App Developer Identity on Splunkbase

co-authored by Yiyun Zhu & Dan Hosaka Engaging with the Community at .conf24 At .conf24, we revitalized the ...

Detect and Resolve Issues in a Kubernetes Environment

We’ve gone through common problems one can encounter in a Kubernetes environment, their impacts, and the ...