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!

Developer Spotlight with Brett Adams

In our third Spotlight feature, we're excited to shine a light on Brett—a Splunk consultant, innovative ...

Index This | What can you do to make 55,555 equal 500?

April 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...