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
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
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
>