Hi Guys, I''m new to puppet, how can I write a recipe that puppet client will retrieve a file from puppet master server if it''s not present. any ideas? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hello, I am assuming you mean the file is not present on the client and you want to transfer it from the masters file server. This is actually very easy and one of the most basic things you can do. Take a look at the following and let us know if you have any questions: http://docs.puppetlabs.com/guides/types/file.html -Matt -----Original Message----- From: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] On Behalf Of Ray Liu Sent: Monday, May 17, 2010 8:32 PM To: Puppet Users Subject: [Puppet Users] simple question. Hi Guys, I''m new to puppet, how can I write a recipe that puppet client will retrieve a file from puppet master server if it''s not present. any ideas? Thanks -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Thanks a lot On May 18, 12:14 pm, "Matt Ackerman" <m...@808.org> wrote:> Hello, > > I am assuming you mean the file is not present on the client and you > want to transfer it from the masters file server. This is actually very > easy and one of the most basic things you can do. > > Take a look at the following and let us know if you have any questions: > > http://docs.puppetlabs.com/guides/types/file.html > > -Matt > > > > -----Original Message----- > From: puppet-users@googlegroups.com > > [mailto:puppet-users@googlegroups.com] On Behalf Of Ray Liu > Sent: Monday, May 17, 2010 8:32 PM > To: Puppet Users > Subject: [Puppet Users] simple question. > > Hi Guys, > > I''m new to puppet, how can I write a recipe that puppet client will > retrieve a file from puppet master server if it''s not present. any > ideas? Thanks > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To post to this group, send email to puppet-users@googlegroups.com. > To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. > For more options, visit this group athttp://groups.google.com/group/puppet-users?hl=en.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.