Skip to content
Snippets Groups Projects
Verified Commit 3e22ec14 authored by Jérôme Charaoui's avatar Jérôme Charaoui :telescope:
Browse files

howto/cumin: C, O and P shortcut examples

also show an example to query by parameter value
parent 7267bded
No related branches found
No related tags found
No related merge requests found
Pipeline #239952 passed with warnings
......@@ -223,7 +223,19 @@ built catalog:
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
a ad-hoc interface to query PuppetDB for certain facts, as you don't
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment