Hi I'm trying to override a fact from facter 2.3, called "partitions" with a custom version of this fact, via pluginsync.
The problem is that the base file in /var/lib/puppet/lib/facter/partitions.rb, just like it's facter brother in /usr/lib/ruby/vendor_ruby/facter/partitions.rb has a require 'facter/util/partitions' and this require seems to me that, no matter what I do, try to includes other ruby files from /usr/lib/ruby/vendor_ruby/ and not /var/lib/puppet/lib/, even if I run facter -p. What's the correct way to override via pluginsync an already existing and complex fact like "partitions" ? I'm already specifying "has_weigth 100" in /var/lib/puppet/lib/facter/partitions.rb because otherwise it wouldn't even consider my custom version, but it stops there. Thanks! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAKsfaEaENV0TSCwEO8uRQTGaitDjRFSeRPeVz_N%3DTqNhoeMWSQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
