Hi,
On 01/08/2015 11:02 PM, Christopher Wood wrote:
root@cwl:~# cat /etc/facter/facts.d/truefalsetwo.txt
truefalsetwo=true
I think it's fine for this one to return a string. After all, the output
of a script is just text. Converting to boolean would be trivial, but
less so for arrays, hashes
(As background, I am attempting to create an is/oos toggle, for servers, in
facter. Before I file bugs on two oddities, maybe somebody here could tell me
if I'm misunderstanding something. I am using facter 2.3.0 from the puppetlabs
apt/yum repositories, required from an external ruby script. I