[Puppet Users] Re: Multiple facts getting the same value

2015-05-15 Thread Corey Osman
I am not sure what your end goal is but it sounds like you want to get information from the puppet node during catalog enforcement to use during the catalog compilation. If this is the case I would recommend using a native type and provider to perform which executes directly on the puppet nod

Re: [Puppet Users] Re: Multiple facts getting the same value

2015-05-11 Thread James Olin Oden
That was exactly what was confusing me. I had figured this out shortly after sending the email...but I'm glad I didn't reply as I got your structured facts answer which is good information to know. Thanks...James On Mon, May 11, 2015 at 10:01 AM, jcbollinger wrote: > > > On Friday, May 8, 2015

[Puppet Users] Re: Multiple facts getting the same value

2015-05-11 Thread jcbollinger
On Friday, May 8, 2015 at 10:42:03 AM UTC-5, James Oden wrote: > > I created a custom fact file to generate home_$user entries for all > users on the system containing their respective home directories: > >require 'etc' > >while pwEnt = Etc.getpwent do >name = pwEnt.name >