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.af...@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/>/

-- 
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/52A9878C.1090104%40alumni.tu-berlin.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to