Ah, OK, you lack a default node. The puppet master expects to find some
node, a simple workaround could be 'node default {}' anywhere in site.pp
or node.pp.
But, as Jeff pointed out - don't do that, there is no reason to prefer
the silly-ish case pattern in this context.
As gor the 403 error wrt. the inventory service - that may be an
auth.conf issue. Does the dashboard keep an error log or log of any
sort? Try looking in its rack home. You may get a clue what the specific
request is that is getting blocked.
HTH,
Felix
On 12/12/2013 10:33 AM,
shlo....@gmail.com wrote:
> 1. When I have in node.pp:
> case $hostname {
> 'puppetagent': {include sendmail}
> }
> I got the error:
> /Error: Could not retrieve catalog from remote server: Error 400
> on SERVER: Could not find default node or by name with
> '
puppetagent.weizmann.ac.il <
http://puppetagent.weizmann.ac.il/>, /
> /
puppetagent.weizmann.ac
> <
http://puppetagent.weizmann.ac/>, puppetagent.weizmann, puppetagent' on
> node
puppetagent.weizmann.ac.il <
http://puppetagent.weizmann.ac.il/>/