We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bb25638 + ecf5443 commit befb80bCopy full SHA for befb80b
modules/minion_queue/manifests/service.pp
@@ -25,5 +25,16 @@
25
service { $service_name:
26
ensure => $service_enable,
27
enable => $service_enable,
28
+ # Sit after starman, which will be after git update
29
+ # IF git was used to setup a notify
30
+ require => [ Starman::Service['metacpan-api'] ],
31
+ }
32
+
33
+ # Everytime we run puppet, restart the queue
34
+ # ideally we'd subscribe to the git update of metacpan-api
35
+ # but we don't use the git repo on the dev boxes
36
+ exec { 'restart_minion_queue':
37
+ command => "${init} restart",
38
+ require => [ Service[$service_name] ],
39
}
40
0 commit comments