Inspecting plans
View the plans you have installed and which ones you have permissions to run, as well as individual plan metadata.
Log into your primary server or client tools workstation and run one of the following
commands to see information about your plan inventory:
Command | Definition |
---|---|
puppet plan show |
View a list of your permitted plans. |
puppet plan show --all |
View a list of all installed plans. |
puppet plan show <PLAN NAME> |
View plan metadata. The output includes the plan's required command format and available parameters. |
For example, this plan allows a
$nodes
parameter and a
$version
parameter, specified as data types TargetSpec
and
Integer
.
plan infra::upgrade_apache (
TargetSpec $nodes,
Integer $version,
){
run_task(‘package’, $nodes, name => ‘apache’, action => ‘upgrade’, version
=> $version)
}
To view plan metadata in the console, choose which plan you want to run in the Plan field and click on the View plan metadata link.