We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3ffec12 + 6e8ac8c commit d268e4cCopy full SHA for d268e4c
manifests/forwarder/service/nix.pp
@@ -21,6 +21,12 @@
21
22
$user_args = "-user ${splunk::forwarder::splunk_user}"
23
24
+ if $facts['kernel'] == 'SunOS' {
25
+ Service[$splunk::forwarder::service_name] {
26
+ provider => 'init',
27
+ }
28
29
+
30
# This will fail if the unit file already exists. Splunk does not remove
31
# unit files during uninstallation, so you may be required to manually
32
# remove existing unit files before re-installing and enabling boot-start.
0 commit comments