Issue #5364 has been updated by Nick Moffitt. Status changed from Unreviewed to Closed
Whoops! Egg on my face here. I think this is a common ERB typo hitting me, and the facter bug led me down the garden path. I of course had typo'd <% processorcount %> instead of <%= processorcount %>! ---------------------------------------- Bug #5364: processorcount fact still blank in templates https://projects.puppetlabs.com/issues/5364 Author: Nick Moffitt Status: Closed Priority: Normal Assignee: Category: Target version: Keywords: facter templates Branch: I am running facter 1.5.7 and puppet 0.25.4-2ubuntu2 on the client, and puppetmaster 2.6.3~rc3-0ubuntu1. I had an exported resource that used a template and relied on the processorcount fact. It came up blank despite being in the facter output on the client, and I ran across #1365. In #1365 Paul Nasrat checked the ipaddress_en1 fact in a template and concluded that it worked for him in a stand-alone puppet. I continue to see missing processorcount and ipaddress_eth0 (etc) variables in my templates. I suspect that the test performed may have missed some condition that triggers this bug, and I hope to track this down. I have applied the patch in #1365, and that does succeed in fixing the command line facter invocations but of course leaves my templates broken. -- 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.
