logo       

Re: template context question: msg#00223

sysutils.puppet.user

Subject: Re: template context question

On Sat, Oct 20, 2007 at 07:57:49PM -0700, Mark D. Nagel wrote:
> I am trying to wrap my head around using templates and was wondering
> what the execution context was, puppetmaster or client? I thought it
> was client since it would have to also account for facter-based
> variables,

Templates are executed on the Puppetmaster, and only has access to the
client's facts and data you set in the manifests to make decisions and
generate output. The Puppetmaster has the client's facts because the client
sends it's facter results to the puppetmaster when it asks for it's
compiled manifest.

- Matt


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise