Issue #2157 has been updated by Udo Waechter.
This is a wonderful idea. I think that it would be cleaner to have: @/etc/facter/facter.d@ At least debian-like OSes introduce more and more packages that have @/etc/packagename/@ top directories for theis config files. This is a pretty clean approach and avoids isorder in @/e...@. Maybe something like facter.conf is introduced some time in the future, then this would be @/etc/facter/facter.conf@ And second: Custom facts coud output multiple key-value pairs. This would lead to less files in @facter.d@ The problem that would then arise is, that it would make dynamic facts more difficult to handle: @facter <factname>@ might be difficult to implement when one would have another language than ruby for facts. ---------------------------------------- Bug #2157: Scripted fact support (eg /etc/fact.d http://projects.reductivelabs.com/issues/2157 Author: Paul Nasrat Status: Accepted Priority: Normal Assigned to: Paul Nasrat Category: Target version: 2.0.0 Complexity: Unknown Keywords: As a fact writer I want a mechanism to write facts in my favourite language and for facter to run them automatically so that I can easily write custom facts. Given I have a configured directory for scripting facts When a executable script that returns a key value pair is executed Then the fact should be available in facter -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en -~----------~----~----~----~------~----~------~--~---
