Hi, do you know if it's possible to pass value to custom fact.
I have a custom fact that check the presence of lv. The idea is to replace the lv name by a variable and check different lv. in my .rb file : Facter.add(:lv_dd_adm) do confine :kernel => "Linux" setcode do Facter::Util::Resolution.exec('lvs | grep -i lv_dd_adm | cut -c3-11') end end in my site.pp : $variable = $::lv_dd_adm Thanks in advance. Regards Seb -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/A4BAxQ7nA00J. 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.