On Fri, Feb 13, 2009 at 4:49 PM, Jeff Falgout <jtfalg...@gmail.com> wrote:
> On Fri, Jan 30, 2009 at 7:58 AM, Ross McKerchar
> <ross.mckerc...@sophos.com> wrote:
>
>
>> As I'm not great at ruby, I find writing facts and distributing them to do a 
>> really simple thing can be a bit painful. Along these lines what about:
>>
>
> As Luke put it for python - ruby makes my eyes bleed -  I struggle
> with Ruby a lot and often I give up what I'm trying to do with facts.
>
>> 1) The option to point facter at a directory and then all the scripts in the 
>> directory are simply facts (say, factname is scriptname and value is output 
>> of script). A bit messy but very simple.
>>
>
> Messy - but ohhhh so useful. Even if facter only parses a text file  -
> removing the Ruby requirement goes a long way in my mind!
>

Thinking about this a bit more - I'd probably rely on Facts a whole
heck of a lot more - to the point of abusing them. I'm not sure this
is the best approach but it'd sure help me get the job done faster.

Jeff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to