Issue #10546 has been updated by Daniel Pittman. Status changed from Unreviewed to Needs More Information
Ian Ward wrote: > I added `pluginsync=true` to the client's puppet.conf (it was already on in > the server .conf) and this fixed the problem for me. I have a vague memory > that on .25 having pluginsync=true caused other bugs. Hey. So, this looks kind of like a facter bug, rather than a puppet bug. If one you can can reproduce this, can you check the output of `facter hostname` for me and tell me if it returns (a) the hostname, or (b) something else, or (c) nothing? That will help make sure we check the right place to fix this. ---------------------------------------- Bug #10546: Failed to parse template apache/munin-stats: Could not find value for 'hostname' https://projects.puppetlabs.com/issues/10546 Author: micah - Status: Needs More Information Priority: Normal Assignee: Category: templates Target version: Affected Puppet version: 2.7.6 Keywords: Branch: I tried to upgrade my puppetmaster and one node to 2.7.6, but when I ran it, I got this error: <pre> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template apache/munin-stats: Could not find value for 'hostname' at 7:/etc/puppet/modules/apache/templates/munin-stats at /etc/puppet/modules/apache/manifests/init.pp:90 on node </pre> The template is simple: <pre> # create a virtual host which provides statistics for munin ExtendedStatus on # hide this a little bit from "normal" accesses Listen <%= real_munin_stats_port %> NameVirtualHost *:<%= real_munin_stats_port %> <VirtualHost *:<%= real_munin_stats_port %>> ServerName <%= hostname %> <Directory /> Order deny,allow Deny from all </Directory> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from <%= ipaddress %> Allow from 127.0.0.1 </Location> ErrorLog /var/log/apache2/munin-error.log CustomLog /var/log/apache2/munin-access.log combined </VirtualHost> </pre> and the facter fact 'hostname' is available on the system: <pre> eider# facter hostname eider </pre> I'm sorry if this is a duplicate of another issue, I searched around but could not find anything obviously the same. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
