Jacky, This is really more of a puppet usage question than a development question, so I'm replying to this in the puppet-users group also where this would have been better asked.
I'm not sure what might be happening with puppet kick without some more debugging info, but I think it might related to your security configurations on those clients. The fact that you're getting a 403 when running the curl command makes me think that your auth.conf or namespaceauth.conf aren't setup properly on the clients you're trying to kick. Take a look at the example conf files in puppet's conf directory and the documentation for security settings: http://docs.puppetlabs.com/guides/security.html#authconf Matt On Mon, Jan 17, 2011 at 6:30 AM, jacky wu <jacky.wuch...@gmail.com> wrote: > hello, everyone , I have a problem today. > In my business, i have more than 10 linux servers , each of which runs > a puppet client. > on my puppet master server , sometimes , i need to trigger every > server update from puppet master right now , so i wirte a shell > script to traversal each server to run command "puppet kick > node_name.example.com", but some client will cause a timeout for a > long time. I don't wanna wait so long time, i need the puppet_master > skip trigger a client_server which can not be connected. I can not > find the way to set timeout from the "puppet" command help manual. On > the other hand, I found another way to trigger a client update from > puppetlab's online document, that is rest api "curl -k -X PUT -H > "Content-Type: text/pson" -d "{}" > https://puppetclient:8139/production/run/{anything}". > I run this command on my puppet_master server, but it said "puppet > kick Error 403 on SERVER: Forbidden request". The thing surprise me > is the client did updated at that time. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To post to this group, send email to puppet-...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/puppet-dev?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-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.