Merge "Don't automatically restart jenkins on plugin changes"

This commit is contained in:
Jenkins 2013-08-05 23:03:38 +00:00 committed by Gerrit Code Review
commit 7a7e0993b2

View File

@ -49,7 +49,9 @@ define jenkins::plugin(
require => File[$plugin_dir], require => File[$plugin_dir],
path => ['/usr/bin', '/usr/sbin',], path => ['/usr/bin', '/usr/sbin',],
user => 'jenkins', user => 'jenkins',
unless => "test -d ${plugin_dir}/${name}", unless => "test -f ${plugin_dir}/${name}.?pi",
notify => Service['jenkins'], # OpenStack modification: don't auto-restart jenkins so we can control
# outage timing better.
# notify => Service['jenkins'],
} }
} }