On Tuesday, September 8, 2015 at 11:47:44 AM UTC-7, Vince Skahan wrote:
>
> I think I found a bug in facter in 3.8.2 but wanted to ask here before 
> opening a PL ticket.
>
> Basic description is that facter has different behaviors if you run it 
> without vs. with a fact specified.
>
> To recreate:
>
> # echo 'foo = bar' > /etc/facter/facts.d/foo.txt
> # facter | grep foo
> foo  =>  bar
> # facter foo
>
> #
>
> Net effect is that if you have spaces around the = sign in your custom 
> fact definitions, the server doesn't match at all.  It seems to look up by 
> name, which returns nothing (or a blank line, or a space - it's hard to 
> tell which)
>
> Workaround is to have no spaces around the = sign, but I think this is a 
> bug needing fixing.  The behavior should be the same when you run "facter | 
> grep foo" and "facter foo" shouldn't it ?
>
>
I think you're running into https://tickets.puppetlabs.com/browse/FACT-1050

Josh 

-- 
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/377b6326-f854-4a9d-9ea0-f48576098273%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to