Skip to content

Commit

Permalink
WIP: daemon reload
Browse files Browse the repository at this point in the history
  • Loading branch information
siegy22 committed Mar 18, 2024
1 parent 4177df6 commit 4e22b2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/acceptance/splunk_enterprise_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
file { '/opt/splunk': ensure => absent, force => true, require => Package['splunk'] }
file { '/etc/init.d/splunk': ensure => absent, require => Package['splunk'] }
file { '/etc/systemd/system/Splunkd.service': ensure => absent, require => Package['splunk'] }
exec { 'daemon_reload': command => '/usr/bin/systemctl daemon-reload', require => File['/etc/systemd/system/Splunkd.service'], refreshonly => true }
EOS
apply_manifest(pp, catch_failures: true)
end
Expand Down

0 comments on commit 4e22b2b

Please sign in to comment.