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 [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-dev?hl=en.