Project

General

Profile

Actions

Feature #7195

closed

Deeper inspection of puppet classes to parse values from params.pp pattern

Added by Dominic Cleal almost 10 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Puppet
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1132421
Description of problem:
The 'params.pp' pattern in puppet to store default values is common. In the init.pp, you'll inherit from params and set default values as such:

$hostname = $module::params::$hostname

It would be good if Satellite supported this and was able to inspect deeper into the puppet modules to retrieve the default values.

Version-Release number of selected component (if applicable):
6.0.3 Beta

How reproducible:
Always

Steps to Reproduce:
1. Add a new puppet class that uses the params.pp pattern. For example, puppetlabs/ntp
2. View Smart Class Parameters for $autoupdate

Actual results:
Default value will appear as '$ntp::params::autoupdate'

Expected results:
Default value appears as 'false' (and some UI indication it was evaluated from params.pp)


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #4470: Usability of parameters and overridesNew

Actions
Actions

Also available in: Atom PDF