Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions modules/minion_queue/manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,16 @@
service { $service_name:
ensure => $service_enable,
enable => $service_enable,
# Sit after starman, which will be after git update
# IF git was used to setup a notify
require => [ Starman::Service['metacpan-api'] ],
}

# Everytime we run puppet, restart the queue
# ideally we'd subscribe to the git update of metacpan-api
# but we don't use the git repo on the dev boxes
exec { 'restart_minion_queue':
command => "${init} restart",
require => [ Service[$service_name] ],
}
}