Issue #10546 has been updated by Ian Ward.
I'm also running into this issue. Same basic scenario as @micah. This worked fine on .25 Ubuntu Lucid package, but upgrading the client to 2.7.6 I get this issue. ---------------------------------------- Bug #10546: Failed to parse template apache/munin-stats: Could not find value for 'hostname' https://projects.puppetlabs.com/issues/10546 Author: micah - Status: Unreviewed 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.
