Hi,
I have created a custom agent to deploy code, from this agent I would like
to leverage the code in the nrpe agent and invoke it from my agent. Is it
possible to invoke another agent from an agent.
Here is a snippet of my code.
module MCollective
module Agent
class Resindeploy<RPC::Agent
action 'deploy-ear' do
#Custom agent call ..........
# Would like to invoke nrpe agent runcommand here to validate
deployment.
reply[:msg] = reply[:out]
end
end
end
end
Thanks,
Larry
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/c98a4229-c99c-4fb4-85e5-c2732fe3016e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.