Thank you so much for the reply. I have bunch of webserver, I want to able be able run svn update to all the webserver from master. Of-course I can do cron job that runs svn update, but I would like to revert to previous version on fly if needed. So maybe I need to use that tool you are talking about ?
Sent via BlackBerry by AT&T -----Original Message----- From: Patrick <kc7...@gmail.com> Date: Sun, 4 Apr 2010 21:43:45 To: <puppet-users@googlegroups.com> Subject: Re: [Puppet Users] How to push config from master ? On Apr 4, 2010, at 7:00 PM, JT wrote: > I am trying push configuratioin from the server. Here is the simple > config > > node 'client.master.com' { > package { 'curl': ensure => present > } > } > > -bash-3.2#puppet site.pp > dnsdomainname: Unknown host > Could not find default node or by name with 'domu-12-31-39-09-a4- > c4.com, domu-12-31-39-09-a4-c4, domU-12-31-39-09-A4-C4.com, > domU-12-31-39-09-A4-C4' on node domu-12-31-39-09-a4-c4.com > ping client.master.com > PING client.master.com (10.193.125.130) 56(84) bytes of data > 64 bytes from client.master.com (10.193.125.130): icmp_seq=1 ttl=61 > time=0.739 ms > > I can pull config from client but not able to push it from server, I > get this weird DNS error. Please help > I can't quite figure out what you are doing. First, I'm not sure if there's a misunderstanding about terminology, or something more fundamental. Puppet in the default configuration is based on a standard client to server model. The server doesn't push information. Instead the client pulls information. Sorry if I'm repeating what you already know. (This is mostly true. There is a command-line option that allows you to push configuration, but that probably isn't what you want right now.) Now that I have that out of the way I'll continue. In this case, the client thinks that the client's name is domU-12-31-39-09-A4-C4.com. The manifest only lists a client called client.master.com. There are three direct solutions: *) Change something to the client thinks its name is client.master.com. *) Change the manifest so it lists a configuration for *) Add a configuration for 'default' to the manifest. I won't have a very good idea of which is best until I get more information about what you are doing. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.