Issue #22944 has been updated by Ethan Brown. Status changed from In Topic Branch Pending Review to Merged - Pending Release
Merged to stable in [e0bdf2873c8ade9d7a06878d66e6bca902417515](https://github.com/puppetlabs/facter/commit/e0bdf2873c8ade9d7a06878d66e6bca902417515) Merged to master in [20b0ee56b1c35c9ca75b98c58d66c93ec61834fc](https://github.com/puppetlabs/facter/commit/20b0ee56b1c35c9ca75b98c58d66c93ec61834fc) ---------------------------------------- Bug #22944: External facts are evaluated many times https://projects.puppetlabs.com/issues/22944#change-101145 * Author: Matthias Baur * Status: Merged - Pending Release * Priority: Normal * Assignee: * Category: * Target version: 1.7.4 * Keywords: * Branch: https://github.com/puppetlabs/facter/pull/570 * Affected Facter version: 1.7.3 ---------------------------------------- ** Reproduction ** * Drop script /etc/facter/facts.d/test.sh: <pre> #!/bin/bash echo "SCRIPT CALLED" >&2 echo "test=value" </pre> * Make script executeable <pre> chmod +x /etc/facter/facts.d/test.sh </pre> * Call 'facter', the following output is shown: <pre> root@puppet:~# facter SCRIPT CALLED SCRIPT CALLED SCRIPT CALLED SCRIPT CALLED SCRIPT CALLED SCRIPT CALLED ... Regular facter output ... </pre> I don't see a reason why the script is called 6 times. System information * Ubuntu 12.04.3 * Facter 1.7.3 -- 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://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/groups/opt_out.
