Issue #22945 has been reported by Matthias Baur.

----------------------------------------
Bug #22945: Puppet --version calls external facts
https://projects.puppetlabs.com/issues/22945

* Author: Matthias Baur
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.3.1
* Keywords: 
* Branch: 
----------------------------------------
** Reproduction **

* Drop script /etc/facter/facts.d/test.sh:
<pre><code class="bash">
#!/bin/bash
echo "SCRIPT CALLED" >&2
echo "test=value"
</code></pre>
* Make script executeable
<pre><code class="bash">
chmod +x /etc/facter/facts.d/test.sh
</code></pre>
* Call 'puppet --version', the following output is shown:
<pre><code class="bash">
root@puppet:~# puppet --version
SCRIPT CALLED
SCRIPT CALLED
SCRIPT CALLED
SCRIPT CALLED
SCRIPT CALLED
3.3.1
</code></pre>

As far as i'm aware, there is no reason for calling the external facts when i'm 
just requesting the puppet version.

** 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.

Reply via email to