> Creating a custom fact to report on the agent's /dynamic/ $confdir
> setting, as recommended by those docs, is precisely what I would like to
> do. What I'm struggling with is how the fact implementation can
> determine the value for such a fact, inasmuch as the value I want is a
> property of the puppet (agent) process on whose behalf Facter is
> computing facts.
>
I recall now that we have a ticket with a request to make agent settings
available on the master side. No progress on that for quite some time
though. Not sure if ticket is still open or if it was closed in the last
big triage. I assume it could be implemented as sending all of the
settings as one fact. Or - indeed as you plan, just the actual setting
you are interested in.