If you don’t have root command line access in PE, you can run Puppet commands in the console using a task in the support_tasks
module. You can use these commands to see the actual settings values that a Puppet service uses, list your modules in all environments, display errors and alerts from PE services, and output optimized settings for PE services based on recommended guidelines.
Version and installation information
PE version: All supported versions
Note: If you’re using a version of the puppetlabs-support_tasks
module older than 1.1.1 (2020 17 January), please update the module to use these steps. We renumbered all the tasks in the module at that time.
Solution
By using a task from the support_tasks
module, you can run the following commands in the console:
puppet config_print
- See the actual settings values that a Puppet service usespuppet module_list --all
- List installed modules in all environmentspuppet infrastructure_status
- Display errors and alerts from PE servicespuppet infrastructure tune
- Output optimized settings for PE services based on recommended guidelines
-
Download and install the
support_tasks
module which includes the task for this solution. -
In the console, in the Run section, click Task.
-
In the Task field, select task st0371. Target your primary server (formerly called the master). From the list of target types, select Node list. Expand the Inventory nodes target. Enter your primary server’s name and click Search. From the list of results, select your primary server.
-
Under Task parameters, select the parameter that matches the command you’d like to run from the dropdown list.
-
Click Run job. After the task is completed, the command’s output will appear on the Job page.
How can we improve this article?
0 comments
Please sign in to leave a comment.
Related articles