On 11/28/2012 09:46 PM, Romain Gales wrote: > there is what i tried: > > # getpfoleproxyver.rb > # > Facter.add(:getpfoleproxyver) do > setcode do > Facter::Util::Resolution.exec('basename `ls > /softw4pc/Misc/pfoleproxy/pfoleproxy*.txt`') > end > end > > the fact is working fine, but how to use this in my manifest? > i tried a lot but it was always empty? > > $getpfoleproxyver should be correct, no?
Are you sure it's working on the client? You can see the value when you type facter -p | grep getpfoleproxyver ? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.