On 30/06/10 20:48, Marcus, Allan B wrote:
> We need to put a script into /usr/local/bin. Which is more efficient, put the 
> text into a variable and use content =>, or put the file on the puppetmaster 
> server and use source => 

Definitely source.

Because most of the time the script won't be downloaded again and again.

With content, your transmitted catalog will contains the file content
everytime, which means the puppetmaster will read the file on each
catalog compilation and transmit it to the client.

Note: in the upcoming 2.6, the file transfer is definitely better and
doesn't cost any memory on the client nor the server (and it is even
possible to activate http compression).
-- 
Brice Figureau
My Blog: http://www.masterzen.fr/

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

Reply via email to