On Feb 17, 10:07 pm, Grant McLean <gr...@mclean.net.nz> wrote: > It would appear that if I refer to the template from a .pp file I would > do something like: > > content => template("eec-mike/mikeapache.erb")
Yes. > and somehow Puppet would work out that it needed to sync the > mikeapache.erb file from the eec-mike/templates directory on the server. No. template() is a Puppet function, and like all Puppet functions, it is evaluated by the Puppetmaster. It therefore does not sync the erb file with clients, and it does not have any access to the client system. Your custom resource may sync the resulting value, however, without regard to how the value was generated. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.