Created
October 18, 2010 21:08
-
-
Save masterzen/633063 to your computer and use it in GitHub Desktop.
Puppet-load usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ... | |
| path ~ ^/catalog/([^/]+)$ | |
| method find | |
| allow $1 | |
| allow puppet-load.domain.com | |
| ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- !ruby/object:Puppet::Node::Facts | |
| expiration: 2010-04-23 12:49:53.184962 +02:00 | |
| name: node1.domain.com | |
| values: | |
| processor3: Intel(R) Xeon(R) CPU L5320 @ 1.86GHz | |
| kernelmajversion: "2.6" | |
| kernelversion: 2.6.26 | |
| ipaddress_eth0: 172.16.1.123 | |
| clientversion: 0.25.4 | |
| rubysitedir: /usr/local/lib/site_ruby/1.8 | |
| netmask_eht0: 255.255.255.0 | |
| ps: ps -ef | |
| lsbdistcodename: lenny | |
| hardwareisa: unknown | |
| lsbdistrelease: 5.0.4 | |
| uniqueid: 007f0101 | |
| netmask_bond0_1: 255.255.255.224 | |
| :_timestamp: Fri Apr 23 12:19:53 +0200 2010 | |
| hostname: node1 | |
| kernelrelease: 2.6.26-2-amd64 | |
| kernel: Linux | |
| uptime_seconds: "2172404" | |
| facterversion: 1.5.6 | |
| interfaces: eth0 | |
| macaddress_eth0: 00:11:22:33:44:55 | |
| is_virtual: "false" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ puppet ca --generate puppet-load.domain.com | |
| notice: puppet-load.domain.com has a waiting certificate requestnotice: Signed certificate request for puppet-load.domain.com | |
| notice: Removing file Puppet::SSL::CertificateRequest puppet-load.domain.com at '/var/lib/puppet/ssl/ca/requests/puppet-load.domain.com.pem' | |
| notice: Removing file Puppet::SSL::CertificateRequest puppet-load.domain.com at '/var/lib/puppet/ssl/certificate_requests/puppet-load.domain.com.pem' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./ext/puppet-load.rb --debug --node node1.domain.com --server puppetmaster.domain.com --facts facts.yaml --concurrency 6 --repeat 1 --cert puppet-load.domain.com.pem --key puppet-load.domain.com.pem | |
| debug: reading facts from: facts.yaml | |
| debug: starting client 0 for node1.domain.com | |
| debug: starting client 1 for node1.domain.com | |
| debug: starting client 2 for node1.domain.com | |
| debug: starting client 3 for node1.domain.com | |
| debug: starting client 4 for node1.domain.com | |
| debug: starting client 5 for node1.domain.com | |
| debug: Client 1 finished successfully | |
| debug: Client 5 finished successfully | |
| debug: Client 4 finished successfully | |
| debug: Client 3 finished successfully | |
| debug: Client 2 finished successfully | |
| debug: Client 0 finished successfully | |
| 6 requests finished in 0.654225 s | |
| 0 requests failed | |
| Availability: 100.00 % | |
| Time (s): | |
| min: 0.626235 s | |
| max: 0.653096 s | |
| average: 0.639550333333333 s | |
| median: 0.638822 s | |
| Concurrency: 5.87 | |
| Transaction Rate (tps): 9.17 t/s | |
| Received bytes: 5.95 KiB | |
| Throughput: 0.00888 MiB/s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ./ext/puppet-load.rb --debug --node node1.domain.com --server puppetmaster.domain.com --facts facts.yaml --concurrency 1 --repeat 2 --cert puppet-load.domain.com.pem --key puppet-load.domain.com.pem | |
| debug: reading facts from: facts.yaml | |
| debug: starting client 0 for node1.domain.com | |
| debug: Client 0 finished successfully | |
| debug: starting client 1 for node1.domain.com | |
| debug: Client 1 finished successfully | |
| 2 requests finished in 0.489089 s | |
| 0 requests failed | |
| Availability: 100.00 % | |
| Time (s): | |
| min: 0.128136 s | |
| max: 0.35894 s | |
| average: 0.243538 s | |
| median: 0.243538 s | |
| Concurrency: 1.00 | |
| Transaction Rate (tps): 4.09 t/s | |
| Received bytes: 1.98 KiB | |
| Throughput: 0.00396 MiB/s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment