I will try that and report back. Thanks again for your assistance.
----- Gary Larizza <[email protected]> wrote: > You can go further by removing the require facter line as it should be > unnecessary too :) > > On Tue, May 29, 2012 at 11:41 AM, Dan White <[email protected]> wrote: > > > Fantastic ! > > Thanks, Gary. I knew it had to be some bone-head boo-boo like that. > > > > I trimmed it down further: > > > > #Return the broadcast address of eth0 > > require 'facter' > > Facter.add("broadcast") do > > setcode ("ipcalc -s -b #{Facter.value('ipaddress')} > > #{Facter.value('netmask')} | cut -d= -f2") > > end > > “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
