Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set environment in report processor.

  • Loading branch information...
commit 9271414141a710a6dbfcc19fbebb1d6700745dd2 1 parent 0c60784
Lars van de Kerkhof authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  files/kick.rb
2  files/kick.rb
View
@@ -31,7 +31,7 @@ def process
changes.each do |name, status|
log "Status changed: #{name} #{status} #{status.title} #{status.resource_type}"
log "kick role name: #{status.title[8..-1]}"
- puppetd = Kicker::Utils.get_rpc_client('puppetd', ["role=#{status.title[8..-1]}"])
+ puppetd = Kicker::Utils.get_rpc_client('puppetd', ["role=#{status.title[8..-1]}"], self.environment)
puppetd.runonce()
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.