Sorry I had a spelling mistake in the hostname. Now the manifest file work okay with the $hostname variable.
I left with the problem with Dashboard that don't give me the 'Inventory' details. Sorry & Thanks again for the promptly answers. On Thursday, December 12, 2013 1:59:52 PM UTC+2, shlo....@gmail.com wrote: > > In the end of the file I add : > node default { > } > > Thanks again > > On Thursday, December 12, 2013 12:45:49 PM UTC+2, Felix.Frank wrote: >> >> On 12/12/2013 11:42 AM, shlo....@gmail.com wrote: >> > case $hostname { >> > 'puppetagent': {include sendmail} >> > } >> > Puppet don't use the value in $hostname. >> >> Is this in the top scope, i.e. not inside a class {}, node {} or define >> {} block? >> >> > 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 >> >> This looks weird. Implementation.cpp? Is dashboard written in C++, or am >> I misreading this? >> This may not be related to your issues at all. >> >> How and where did you install dashboard? >> > -- 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/9b74c4de-3354-4abd-a3d9-904901860ef4%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.