... | ... | @@ -363,6 +363,19 @@ As a bonus, this query will show the number of hosts running each release: |
|
|
[PuppetDB API]: https://puppet.com/docs/puppetdb/4.3/api/index.html
|
|
|
[fact API]: https://puppet.com/docs/puppetdb/4.3/api/query/v4/facts.html
|
|
|
|
|
|
## Running Puppet everywhere
|
|
|
|
|
|
There are many ways to [run a command on all hosts (see next
|
|
|
section)][], but the TL;DR: is to basicaully use [cumin](howto/cumin)
|
|
|
and run this command:
|
|
|
|
|
|
[run a command on all hosts (see next section)]: #batch-jobs-on-all-hosts
|
|
|
|
|
|
cumin -o txt -b 5 '*' 'puppet agent -t'
|
|
|
|
|
|
But before doing this, consider doing a [progressive
|
|
|
deployment](#progressive-deployment) instead.
|
|
|
|
|
|
## Batch jobs on all hosts
|
|
|
|
|
|
With that trick, a job can be ran on all hosts with
|
... | ... | |