Hello, When I set: source => "puppet://mypuppet.company.com/apache/httpd.conf" which directory should I put httpd.conf under the puppet server machine mypuppet.company.com? I checked the documentation but cannot find the answer. Thanks. Peter --~--~---------~--~----~------------~-------~--~----~ 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 groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Nigel Kersten
2009-Aug-12 17:52 UTC
[Puppet Users] Re: how to specify the the source directory
On Wed, Aug 12, 2009 at 10:49 AM, peter <freemail168@gmail.com> wrote:> > Hello, > > When I set: > source => "puppet://mypuppet.company.com/apache/httpd.conf" > > which directory should I put httpd.conf under the puppet server > machine mypuppet.company.com? > I checked the documentation but cannot find the answer.Assuming you have a module called "apache" it would go in path-to-apache-module/files/httpd.conf -- Nigel Kersten nigelk@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+unsubscribe@googlegroups.com For more options, visit this group at groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Asif Iqbal
2009-Aug-12 17:58 UTC
[Puppet Users] Re: how to specify the the source directory
On Wed, Aug 12, 2009 at 1:49 PM, peter<freemail168@gmail.com> wrote:> > Hello, > > When I set: > source => "puppet://mypuppet.company.com/apache/httpd.conf" > > which directory should I put httpd.conf under the puppet servermodules/apache/files/httpd.conf> machine mypuppet.company.com? > I checked the documentation but cannot find the answer. > > Thanks. > > Peter > > > > >-- Asif Iqbal PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? --~--~---------~--~----~------------~-------~--~----~ 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 groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
thanks for you and Nigel''s help, now I figured out the problem. I have another issue is that if my puppetmaster server name is not "puppet", the client will always complain "Could not find server puppet: getaddrinfo: Name or service not known" though I have set "PUPPET_SERVER" in /etc/sysconfig/puppet and "server=" in /etc/puppet/puppet.conf, I can add puppet in /etc/hosts in the puppet client machine, just wonder why the settings for PUPPET_SERVER and server doesn''t work. is "puppet" hostname is hard coded in the puppet client software? 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 groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Ohad Levy
2009-Aug-14 01:45 UTC
[Puppet Users] Re: how to specify the the source directory
use source => puppet:///apache... this will use the current server (you basically hard coded the server name...) Ohad On Fri, Aug 14, 2009 at 8:34 AM, peter <freemail168@gmail.com> wrote:> > thanks for you and Nigel''s help, now I figured out the problem. > > I have another issue is that if my puppetmaster server name is not > "puppet", > the client will always complain "Could not find server puppet: > getaddrinfo: Name or service not known" though I have set > "PUPPET_SERVER" in /etc/sysconfig/puppet > and "server=" in /etc/puppet/puppet.conf, I can add puppet in > /etc/hosts in the puppet client machine, just wonder why the settings > for PUPPET_SERVER and server doesn''t work. > is "puppet" hostname is hard coded in the puppet client software? > > 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 groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---