Hi,
I add 'node default {}'.
Now I don't get any errors but it don't execute the
case $hostname {
'puppetagent': {include sendmail}
}
Puppet don't use the value in $hostname.
I understood that it's not recommended way to use $hostname as variable,
but it should work. Am I right?
About the Dashboard, I use Puppet with Passenger.
In /etc/httpd/logs/error_logs I have a lot of (I think each time Dashboard
refreshed) warning:
[ 2013-12-12 12:34:30.0426 24489/7f1dac713700 Pool2/Implementation.cpp:1291
]: [App 29486 stderr] warning: peer certificate won't be verified in this
SSL session
[ 2013-12-12 12:34:30.0427 24489/7f1dac713700 Pool2/Implementation.cpp:1280
]: [App 29486 stderr]
I don't know how to find the ruby logs.
*Thanks a lot.*
On Thursday, December 12, 2013 11:53:16 AM UTC+2, Felix.Frank wrote:
>
> 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, [email protected] <javascript:> 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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/2c698472-acef-49ac-9f7c-7ea4099aa566%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.