Hi Julien, When writing custom facts, you can specify precedence by setting a weight for your fact resolution.
By default, the weight of a fact resolution is the number of confines it has. Since your custom fact resolution has no confine statements, and the default operatingsystem resolutions have one, your custom fact will not take precedence. There is a good explanation for how to set the weight of your custom fact here: http://docs.puppetlabs.com/guides/custom_facts.html If you're sure you'd always like your custom fact to take precedence, you can set the weight to something like 50 or 100. Hope this helps! Hailee -- 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/-/OVUNvZOHn-wJ. 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.