[Puppet Users] Re: Custom fact errors

2009-07-28 Thread scott
On Jul 28, 5:22 am, Paul Nasrat wrote: > Can you file a Facter issue to improve the error reporting on this and > I'll try fix that up (and the documentation). > > Paul Done, it's filed as Facter issue 2455 (http:// projects.reductivelabs.com/issues/2455). Thanks! --~--~-~--~~

[Puppet Users] Re: Custom fact errors

2009-07-28 Thread Paul Nasrat
> A worthwhile exercise anyways, I guess the embarrassment of a stupid > question is what I get for diving in without fully understanding > Facter!  I remain confused about the error message (non-sh > interpreters sounds to me like it's complaining about the first line, > so I tried all manner of

[Puppet Users] Re: Custom fact errors

2009-07-27 Thread scott
On Jul 27, 5:30 pm, jcbollinger wrote: > > Can anyone shed some light on this issue? > > I think I can.  It doesn't look like you have accurately followed the > custom fact instructions you referenced.  Your custom code should be > wrapped in "setcode do [...] end", as in the example. You are

[Puppet Users] Re: Custom fact errors

2009-07-27 Thread jcbollinger
On Jul 27, 3:30 pm, scott wrote: > I'm a newbie attempting to get a custom fact distributed to clients. > I've followed the instructions > athttp://reductivelabs.com/trac/puppet/wiki/AddingFacts > and based my first fact on a simple recipe. > > I'm having at least one problem and possibly more