On Jun 22, 2009, at 6:46 AM, Michael Semcheski wrote:
> > On Mon, Jun 22, 2009 at 12:43 AM, Michael > Semcheski<[email protected]> wrote: >> 2009/6/21 Bjørn Dyresen <[email protected]>: >>> Did you try using: >>> >>> source => "puppet:///filehere" >>> >>> And then put that file in the file directory of the module? >> >> I did, and it says "Could not find filebucket main at ..." > > Just to clarify something, I have in puppet.conf "bucketdir = > /root/modules". In fileserver.conf, I have "path /root/modules". > > In my module, I've tried every permutation of relative path, leading > slash, and path from / (root) that I can think of. > Hi, Sorry, What I should say was source => "puppet:///modulename/filenamehere" Note that when you are serving files from the modules built inn fileserver you have to use three "/" Then your modulespath need to be correct and point to your modules basedir. Thats pretty much it for modules You don't need to have anything in fileserver.conf for modules. This is all documented here: http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation Regards --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
