Skip to content

Commit bb8453d

Browse files
committed
This commit fixes the error in startup 7.1.x
When splunk is started the first time on 7.1.x (and higher) there is input expected, disable this with --no-prompt. Fixes voxpupuli#186
1 parent bbc320e commit bb8453d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

manifests/platform/posix.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# Commands to run to enable the SplunkUniversalForwarder
2828
@exec { 'license_splunkforwarder':
2929
path => "${splunk::params::forwarder_dir}/bin",
30-
command => 'splunk start --accept-license --answer-yes',
30+
command => 'splunk start --accept-license --answer-yes --no-prompt',
3131
user => $splunk_user,
3232
creates => '/opt/splunkforwarder/etc/auth/server.pem',
3333
timeout => 0,
@@ -46,7 +46,7 @@
4646
# Commands to run to enable full Splunk
4747
@exec { 'license_splunk':
4848
path => "${splunk::params::server_dir}/bin",
49-
command => 'splunk start --accept-license --answer-yes',
49+
command => 'splunk start --accept-license --answer-yes --no-prompt',
5050
user => $splunk_user,
5151
creates => '/opt/splunk/etc/auth/splunk.secret',
5252
timeout => 0,

0 commit comments

Comments
 (0)