Merge "StoryBoard module bounces apache on update"

This commit is contained in:
Jenkins 2014-06-10 19:09:16 +00:00 committed by Gerrit Code Review
commit 87bb1be85c

View File

@ -69,7 +69,7 @@ class storyboard (
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
subscribe => Vcsrepo['/opt/storyboard'],
notify => Exec['storyboard-reload'],
notify => Service['httpd'],
require => Class['pip'],
}
@ -82,7 +82,7 @@ class storyboard (
owner => 'storyboard',
mode => '0400',
content => template('storyboard/storyboard.conf.erb'),
notify => Exec['storyboard-reload'],
notify => Service['httpd'],
require => [
File['/etc/storyboard'],
User['storyboard'],
@ -151,12 +151,6 @@ class storyboard (
require => User['storyboard'],
}
exec { 'storyboard-reload':
command => 'touch /usr/local/lib/python2.7/dist-packages/storyboard/api/app.wsgi',
path => '/usr/local/bin:/usr/bin:/bin/',
refreshonly => true,
}
# START storyboard-webclient
$tarball = 'storyboard-webclient.tar.gz'