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 :
confine :kernel => "Linux"
Facter::Util::Resolution.exec('lvs | grep -i lv_dd_adm | cut -c3-11')
in my site.pp :
$variable = $::lv_dd_adm
Thanks in advance.
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 email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.