Le lundi 06 juillet 2009 à 16:28 -0700, daniel g a écrit :
> It appears that pluginsync is syncing every custom fact in all modules
> in our puppetmasterd's modulepath, regardless of whether or not the
> modules are included for the node in the node list.
> 
> 
> 
> Is there any way to ensure that only facts from modules that the
> client is including are synced, or is this the intended behavior and
> we should structure our custom facts/functions with this in mind? 

I don't know if it is possible to sync only a part of facts but you can
make your facts OS specific with confine :

Facter.add("myfact") do
        confine :operatingsystem => :openbsd
        # blah
end

Please note that it could be something else than the "operatingsystem"
value reported by facter.

Regards,

Nico.

Attachment: signature.asc
Description: Ceci est une partie de message numériquement signée

Reply via email to