Re: [Puppet Users] Automate puppet agent runs

35 views
Skip to first unread message

Christopher Wood

unread,
Aug 20, 2012, 2:54:44 PM8/20/12
to puppet...@googlegroups.com
http://docs.puppetlabs.com/guides/rest_api.html#run

On Mon, Aug 20, 2012 at 11:48:44AM -0700, Mike Carr wrote:
> We are building a system that has a front end for a user to request a
> host, the use can select what they want on the host. Our application will
> build/apply the correct profiles, we would then like to trigger the agent
> to check-in. Our app is current written in Groovy so a REST API would be
> great. Is this possible?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> [1]https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
> References
>
> Visible links
> 1. https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ

Mike Carr

unread,
Aug 20, 2012, 3:40:11 PM8/20/12
to puppet...@googlegroups.com, christop...@pobox.com
I feel embarrased, I was on that page but did not see that...thanks.

So if I enable this on the client then I will have to maintain certs for each agent?

Christopher Wood

unread,
Aug 20, 2012, 4:05:55 PM8/20/12
to puppet...@googlegroups.com
On Mon, Aug 20, 2012 at 12:40:11PM -0700, Mike Carr wrote:
> I feel embarrased, I was on that page but did not see that...thanks.
> So if I enable this on the client then I will have to maintain certs for
> each agent?

I've never used it so don't really know. That said, don't you already have certs in the puppetmaster's CA? Perhaps you could leverage those.

> On Monday, August 20, 2012 11:54:44 AM UTC-7, Christopher Wood wrote:
>
> [1]http://docs.puppetlabs.com/guides/rest_api.html#run
>
> On Mon, Aug 20, 2012 at 11:48:44AM -0700, Mike Carr wrote:
> >    We are building a system that has a front end for a user to request
> a
> >    host, the use can select what they want on the host. Our
> application will
> >    build/apply the correct profiles, we would then like to trigger the
> agent
> >    to check-in. Our app is current written in Groovy so a REST API
> would be
> >    great. Is this possible?
> >
> >    --
> >    You received this message because you are subscribed to the Google
> Groups
> >    "Puppet Users" group.
> >    To view this discussion on the web visit
> >    [1][2]https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ.
> >    To post to this group, send email to [3]puppet...@googlegroups.com.
> >    To unsubscribe from this group, send email to
> >    [4]puppet-users...@googlegroups.com.
> >    For more options, visit this group at
> >    [5]http://groups.google.com/group/puppet-users?hl=en.
> >
> > References
> >
> >    Visible links
> >    1. [6]https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> [7]https://groups.google.com/d/msg/puppet-users/-/nYgf8eweeNYJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
>
> References
>
> Visible links
> 1. http://docs.puppetlabs.com/guides/rest_api.html#run
> 2. https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ
> 3. javascript:
> 4. javascript:
> 5. http://groups.google.com/group/puppet-users?hl=en
> 6. https://groups.google.com/d/msg/puppet-users/-/nicjvyhEUsoJ
> 7. https://groups.google.com/d/msg/puppet-users/-/nYgf8eweeNYJ

Mike Carr

unread,
Aug 22, 2012, 1:39:52 AM8/22/12
to puppet...@googlegroups.com, christop...@pobox.com
I could, except the app will live outside the puppet master, I could store the certs on nfs though...humm...
Reply all
Reply to author
Forward
0 new messages