Hi there, Thanks for the responses so far; the docs say "Instead of specifying the server name explicitly using the / tells Puppet to look for the file on the Puppet master currently managing the node.". The puppet master managing the node is specified by the "server" config in /etc/ puppet.conf (which I've set under [main] - also tried setting it under [puppetd] with no differences), so therefore I think what I set as "server" should also be where puppet looks for the files. In the below debug output, I set the server to "puppet.dev.clarencetso.com", printed out some debug statements to show the host and port of the XMLRPC client that is making each call. As you can see, it will use puppet.dev.clarencetso.com for every single fileserver call, but when it calls puppetbucket.addfile, all of a sudden it is using "puppet" instead. I'm still trying to dive deeper into the code (im not sure where puppet:/// is parsed) to see if I can figure it out, just wanted to show this output in case anyone had any ideas.
debug: Server puppet.dev.clarencetso.com Port 8140 debug: Calling fileserver.describe debug: Server puppet.dev.clarencetso.com Port 8140 debug: Calling fileserver.retrieve debug: //Node[ec2-174-129-188-171]/test_11_a/test_11/clarencetso::base/ File[/etc/profile]/source: Executing 'diff /etc/profile /tmp/puppet- diffing.20857.0' 1c1 < #a /etc/profile: system-wide .profile file for the Bourne shell (sh (1)) --- > # /etc/profile: system-wide .profile file for the Bourne shell (sh(1)) debug: //Node[ec2-174-129-188-171]/test_11_a/test_11/clarencetso::base/ File[/etc/profile]: Changing source debug: //Node[ec2-174-129-188-171]/test_11_a/test_11/clarencetso::base/ File[/etc/profile]: 1 change(s) debug: Server puppet Port 8140 debug: Calling puppetbucket.addfile err: Could not find server : getaddrinfo: Name or service not known err: //Node[ec2-174-129-188-171]/test_11_a/test_11/clarencetso::base/ File[/etc/profile]/source: change from {md5} 20e84001a04b41107eca371b85d05d59 to puppet:///clarencetso/profile failed: Could not find server puppet debug: Server puppet.dev.clarencetso.com Port 8140 debug: Calling fileserver.list Thanks a bunch, Clarence On May 26, 11:43 am, Nigel Kersten <nig...@google.com> wrote: > On Tue, May 26, 2009 at 6:31 AM, Mike Renfro <ren...@tntech.edu> wrote: > > > Peter Meier wrote: > > >> imho the tripple slashes just mean: puppet://puppet/ > > >> So you might want to do: puppet://$server/ > > > I know the first statement isn't correct, since I use triple slashes all > > the time, and my server's name isn't puppet. The second statement should > > work regardless. > > puppet:/// means puppet://$this_server_name > > > > > I do have both server and ca_server set in my puppet.conf, however (for > > Debian and Ubuntu). They may not both be required, since my Solaris > > clients only have server set. > > > -- > > Mike Renfro / R&D Engineer, Center for Manufacturing Research, > > 931 372-3601 / Tennessee Technological University -- ren...@tntech.edu > > -- > Nigel Kersten > nig...@google.com > System Administrator > Google, Inc. --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---