Ugh, this was selinux if anyone else runs into the same problem. Creating
a module with audit2allow fixed it.
On Monday, March 19, 2012 3:15:06 PM UTC-4, Mark Leary
wrote:>
> I''m trying to setup dashboard as a node classifier w/puppet
2.6.14.
> Not sure why this is not working...
>
> In puppet.conf on the master I have:
>
> node_terminus = exec
> external_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://
> localhost /usr/share/puppet-dashboard/bin/external_node
>
> The agent''s return:
>
> err: Could not retrieve catalog from remote server: Error 400 on
> SERVER: Could not find node ''myhost''; cannot compile
>
> I can run the external node script as the puppet user just fine:
>
> sudo -u puppet /usr/bin/env
PUPPET_DASHBOARD_URL=http://localhost<http://localhost>/usr/
> share/puppet-dashboard/bin/external_node myhost
> ---
> classes:
> - snmp
> parameters: {}
>
> name: myhost
>
> Even in debug mode, the puppet-master log returns nothing other than
> "Could not find node". By looking at the http log for dashboard,
I
> can see that puppet-master is not even attempting to connect.
>
> What am I missing?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/puppet-users/-/XJKAWhe4UQoJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.