Restart log pusher when its config is updated.
* modules/openstack_project/manifests/logstash.pp: Subscribe the jenkins-log-pusher service to the log pusher yaml config file so that updates to the config force the pusher service to restart and reload its config. Change-Id: I4a675907133075bf8fa716b8c57c011489842858 Reviewed-on: https://review.openstack.org/29997 Reviewed-by: James E. Blair <corvus@inaugust.com> Approved: Clark Boylan <clark.boylan@gmail.com> Reviewed-by: Clark Boylan <clark.boylan@gmail.com> Tested-by: Jenkins
This commit is contained in:
parent
e37c13e82f
commit
1fed9e39e4
@ -79,6 +79,7 @@ class openstack_project::logstash (
|
||||
service { 'jenkins-log-pusher':
|
||||
enable => true,
|
||||
hasrestart => true,
|
||||
subscribe => File['/etc/logstash/jenkins-log-pusher.yaml'],
|
||||
require => File['/etc/init.d/jenkins-log-pusher'],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user