Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
3e22ec14
Verified
Commit
3e22ec14
authored
2 months ago
by
Jérôme Charaoui
Browse files
Options
Downloads
Patches
Plain Diff
howto/cumin: C, O and P shortcut examples
also show an example to query by parameter value
parent
7267bded
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#239952
passed with warnings
2 months ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/cumin.md
+13
-1
13 additions, 1 deletion
howto/cumin.md
with
13 additions
and
1 deletion
howto/cumin.md
+
13
−
1
View file @
3e22ec14
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment