[Puppet Users] puppet 2.7.9 init.pp error

2012-10-03 Thread SDM
Hello all, I have the current configuration with puppet 2.7.9: in modules/app/manifests init.pp import "*" facesquare.pp class app::facesquare { ... } twitstagram.pp class app::twitstagram { } in node file include app::facesquare include app::twitstagram When i run

[Puppet Users] custom fact with variables

2013-01-07 Thread SDM
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::Re