On Mon, Nov 28, 2011 at 4:46 PM, Daniel Pittman wrote:
> I think you need to set the `Accept` header in your request to
> explicitly include a format that Puppet supports; try `pson` or `yaml`
> as the format. (Yes, not actually a MIME type, just the one string.)
>
That solved it. Thanks.
>
>
I think you need to set the `Accept` header in your request to
explicitly include a format that Puppet supports; try `pson` or `yaml`
as the format. (Yes, not actually a MIME type, just the one string.)
Daniel
On Tue, Nov 22, 2011 at 15:41, Carl Caum wrote:
> Or not. After fighting with this f
Or not. After fighting with this for quite some time, I seem to be
hitting bug #7294. I can use REST API with curl to search for nodes using
facts, but can't do it from a Face.
This is the error I'm getting from the GET: No specified acceptable
formats (*/*) are functional on this machine
Here
Wow. I left the issue and came back later to it to discover I had been
editing /etc/puppet/auth.conf and using PE. I should have been modifying
/etc/puppetlabs/puppet/auth.conf. It works now, thanks for the help.
On Tue, Nov 22, 2011 at 2:02 PM, Carl Caum wrote:
>
>
> On Tue, Nov 22, 2011 at
On Tue, Nov 22, 2011 at 1:26 PM, Brice Figureau <
brice-pup...@daysofwonder.com> wrote:
> On 22/11/11 20:05, Carl Caum wrote:
> > [snip]
> > I went ahead made the code in to a face and yes, it's sending the
> > correct certificate now.
> > However, I'm getting a 'Forbidden Request' error:
> > Deny
On Tue, Nov 22, 2011 at 1:29 PM, Nick Lewis wrote:
> On Tuesday, November 22, 2011 at 11:05 AM, Carl Caum wrote:
>
>
>
> On Mon, Nov 21, 2011 at 11:21 PM, Nick Lewis wrote:
>
> On Mon, Nov 21, 2011 at 9:01 PM, Carl Caum wrote:
> > I have a question about using the inventory service's REST API.
On Tuesday, November 22, 2011 at 11:05 AM, Carl Caum wrote:
>
>
> On Mon, Nov 21, 2011 at 11:21 PM, Nick Lewis (mailto:n...@puppetlabs.com)> wrote:
> > On Mon, Nov 21, 2011 at 9:01 PM, Carl Caum > (mailto:c...@puppetlabs.com)> wrote:
> > > I have a question about using the inventory service's R
On 22/11/11 20:05, Carl Caum wrote:
> [snip]
> I went ahead made the code in to a face and yes, it's sending the
> correct certificate now.
> However, I'm getting a 'Forbidden Request' error:
> Denying access: Forbidden request: puppetagent.localdomain(127.0.0.1)
> access to /facts/search [search
On Mon, Nov 21, 2011 at 11:21 PM, Nick Lewis wrote:
> On Mon, Nov 21, 2011 at 9:01 PM, Carl Caum wrote:
> > I have a question about using the inventory service's REST API. I have
> this code: http://pastie.org/2901445
> > It uses the default OpenSSL::SSL::VERIFY_PEER but the peer certificate
>
On Mon, Nov 21, 2011 at 9:01 PM, Carl Caum wrote:
> I have a question about using the inventory service's REST API. I have this
> code: http://pastie.org/2901445
> It uses the default OpenSSL::SSL::VERIFY_PEER but the peer certificate auth
> fails. I believe it's because I'm not using
> the pup
I have a question about using the inventory service's REST API. I have this
code: http://pastie.org/2901445
It uses the default OpenSSL::SSL::VERIFY_PEER but the peer certificate auth
fails. I believe it's because I'm not using
the puppet agent's certificate to connect to the master. How do I
11 matches
Mail list logo