On 02/01/2012 05:39 AM, Zane Bitter wrote:
On 01/02/12 06:49, Jeff Peeler wrote:
> Hello,
>
> I'm trying to take on implementing what's required for puppet to
> contact the puppet master via an invocation over QMF. Is this as
> simple as adding support for invoking "puppet agent --server
> <domain>"? Forgive my ignorance as I'm still learning about puppet.
Hey Jeff,
Thanks for your help :)
I'm still learning about puppet myself, but I think that's the gist of
it. Looking at the man page, it seems to me like we would also want to
add the --test option.
I don't know the command off of the top of my head, but in general,
yeah, that's what I had in mind.
> I'm thinking there needs to be a new method key for this new
> functionality in schema.xml. I plan on working my way down starting
> with the ConfigAgent::invoke method.
That would work, but I'd prefer to make it part of the existing run_uri
method if there is a legit way of specifying the server as a URL.
If there's no prior convention for it, using puppet:// seems reasonable.
--
Russell Bryant