So, I have some files that I would like to have the puppetd''s pull from the master. I''ve written the modules to include a files directory. Now, from the module specs , does this mean that i can say { ... source => puppet://files/file.name } ? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
paul matthews
2008-Dec-01 09:37 UTC
[Puppet Users] Re: fileserving, puppet:// urls and modules
Hi, If you have the files in a directory called files under a directory called after the module name eg. /var/puppet/modules/automount/files/auto.master then the URI would be of the form source => puppet://servername/automount/auto.master in order to pull the file across Cheers Paul 2008/12/1 kevin <lazyweb@gmail.com>> > So, I have some files that I would like to have the puppetd''s pull > from the master. I''ve written the modules to include a files > directory. Now, from the module specs , does this mean that i can > say > { > ... > > source => puppet://files/file.name > > } > > ? > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Bjørn Dyre Dyresen
2008-Dec-01 09:40 UTC
[Puppet Users] Re: fileserving, puppet:// urls and modules
2008/12/1 kevin <lazyweb@gmail.com>> > So, I have some files that I would like to have the puppetd''s pull > from the master. I''ve written the modules to include a files > directory. Now, from the module specs , does this mean that i can > say > { > ... > > source => puppet://files/file.name > > } > > ? >If you mean to pull from the files directory if the modules (the prefered way in my oppinion) Then you go source => puppet:///ModuleNameHere/FileYouWantToPull --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Dec 1, 4:40 am, "Bjørn Dyre Dyresen" <bj...@dyresen.net> wrote:> 2008/12/1 kevin <lazy...@gmail.com> > > > > > So, I have some files that I would like to have the puppetd''s pull > > from the master. I''ve written the modules to include a files > > directory. Now, from the module specs , does this mean that i can > > say > > { > > ... > > > source => puppet://files/file.name > > > } > > > ? > > If you mean to pull from the files directory if the modules (the prefered > way in my oppinion) Then you go > > source => puppet:///ModuleNameHere/FileYouWantToPullThanks, I think i''m finally "getting" puppet. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---