lib/oxidized/hook/exec.rb in oxidized-0.19.0 vs lib/oxidized/hook/exec.rb in oxidized-0.20.0
- old
+ new
@@ -65,9 +65,10 @@
"OX_EVENT" => ctx.event.to_s
}
if ctx.node
env.merge!(
"OX_NODE_NAME" => ctx.node.name.to_s,
+ "OX_NODE_IP" => ctx.node.ip.to_s,
"OX_NODE_FROM" => ctx.node.from.to_s,
"OX_NODE_MSG" => ctx.node.msg.to_s,
"OX_NODE_GROUP" => ctx.node.group.to_s,
"OX_EVENT" => ctx.event.to_s,
"OX_REPO_COMMITREF" => ctx.commitref.to_s,