Changes
Page history
howto/cumin: C, O and P shortcut examples
authored
Jan 13, 2025
by
Jérôme Charaoui
also show an example to query by parameter value
Show whitespace changes
Inline
Side-by-side
howto/cumin.md
View page @
3e22ec14
...
@@ -223,7 +223,19 @@ built catalog:
...
@@ -223,7 +223,19 @@ built catalog:
To run against only the dal ganeti cluster nodes:
To run against only the dal ganeti cluster nodes:
cumin 'R:class=role::ganeti::dal' uptime
cumin 'C:role::ganeti::dal' uptime
Or, the same command using the
`O:`
shortcut:
cumin 'O:ganeti::dal' uptime
To query any host that applies a certain profile:
cumin 'P:opendkim' uptime
And to query hosts that apply a certain profile with specific parameters:
cumin 'P:opendkim%mode = sv' uptime
Any Puppet fact or class can be queried that way. This also serves as
Any Puppet fact or class can be queried that way. This also serves as
a ad-hoc interface to query PuppetDB for certain facts, as you don't
a ad-hoc interface to query PuppetDB for certain facts, as you don't
...
...
...
...