Btw. I tried the same thing in Puppet Enterprise by using the "Learning VM" 
but the result was the same..

puppet node classify --node-group default --enc-auth-passwd 
learningpuppet--enc-auth-user admin --enc-server localhost --enc-port 443 
--insecure learning.puppetlabs.vm

Warning: List nodes ..Failed
Warning: Server responded with a 303 status
Error: Could not: List nodes, got 303 expected 200








Op dinsdag 7 april 2015 19:40:01 UTC+2 schreef Henk-Jan Castermans:
>
> Hi,
> I'm trying to classify a new node using the commandline just as explained 
> here : 
> https://docs.puppetlabs.com/pe/latest/cloudprovisioner_classifying_installing.html#classifying-nodes
>
> I've seen the youtube demo that just runs fab, but for some reason my 
> puppet-setup is failing, which is not really nice.
>
> root@nodemanager:~# puppet node classify  --insecure  --node-group=test 
> --enc-auth-user=console --enc-auth-passwd=Welcome001 --enc-server=
> mypuppet.master.net --enc-port=443 mywebsvr01
>
> Notice: Contacting https://mypuppet.master.net:443/ to classify mywebsvr01
> Warning: List nodes ... Failed
> Warning: Server responded with a 303 status
> Error: Could not: List nodes, got 303 expected 200
> Error: Try 'puppet help node classify' for usage
>
> When I check the pe-httpd-log I see the request coming in /nodes.json but 
> I see also the 303 linked to it.
>
> The user "console" is authorized for PE-console but for some reason is not 
> working.
>
> How do I get my access-credentials right to make this work? Can anyone 
> give me a hint. I'm pretty new at this, so I'm a bit overwhelmed by all 
> config-stuff. 
>
> Greetings,
> Henk-Jan
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/4abe87d2-72c9-4b26-b3be-e4285f72a608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to