I have the command below in a init.pp file that I run to startup splunk for the first time but it outputs the license agreement which requires to input a y or n. Is there a way to input a y after the lincese agreement? exec { "start": command => "/opt/splunkforwarder/bin/splunk start", } I have tried to redirect a y in the command below but it did not work. exec { "start": command => "/opt/splunkforwarder/bin/splunk start < y", }
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/e0p23HYdbYQJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.