Have you tried to run the command with the same user the puppet master is
running? (Usually puppet)

Regards,
El 12/07/2014 13:39, "Taylor Leese" <tlees...@gmail.com> escribió:

> Hi all,
>
> I'm trying to setup an external node classifier and I'm running into an
> error that I haven't been able to resolve.
>
> *Error: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Failed when searching for node puppet.myhost.com
> <http://puppet.myhost.com>: Failed to find puppet.myhost.com
> <http://puppet.myhost.com> via exec: Execution of
> '/etc/puppet/bin/node_classifier puppet.myhost.com
> <http://puppet.myhost.com>' returned 1: *
> This is the relevant part of my puppet.conf:
>
> *node_terminus = exec*
> *external_nodes = /etc/puppet/bin/node_classifier*
>
> The interesting thing is that if I run the classifier manually I get what
> appears (to me) to be correct output. I'm using Puppet 3.4.3. Any idea what
> I might be doing wrong?
>
> *root@puppet:/etc/puppet# ./bin/node_classifier puppet.myhost.com
> <http://puppet.myhost.com>*
>
> *--- *
>
> *  classes: *
>
> *    - apt*
>
> *    - common*
>
> *    - ntp*
>
> *    - puppet*
>
> *    - sudo*
>
> *    - users*
>
> *  parameters: *
>
> *    puppetserver: puppet.myhost.com <http://puppet.myhost.com>*
>
> *  environment: production*
>
> *root@puppet:/etc/puppet# *
> - Taylor
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-users/d5056060-42ad-4807-8b47-7c9b204bc94e%40googlegroups.com
> <https://groups.google.com/d/msgid/puppet-users/d5056060-42ad-4807-8b47-7c9b204bc94e%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAF_B3deLXtN5EKs4AqVUHMMNgSVnbCsuNzLu1zBeBKvwh-PMnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to