Project

General

Profile

Actions

Feature #21813

closed

Puppet import of parameter types in classes

Added by Christian Setzer about 7 years ago. Updated about 7 years ago.

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

Description

it would be really helpful when importing classes from a smart proxy environment that not only the classes but also the attribute/parameter types would imported with it.

e.g chrony module. when setting the paramter values for a host group for example you get this error

Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Class[Chrony]:
parameter 'client_allow' expects a Boolean value, got String
parameter 'client_sources' expects a value of type Undef or Array, got String
parameter 'package_manage' expects a Boolean value, got String
parameter 'pool_use' expects a Boolean value, got String
parameter 'pool_maxservers' expects an Integer value, got String
parameter 'pool_iburst' expects a Boolean value, got String
parameter 'servers' expects an Array value, got String
parameter 'service_enable' expects a Boolean value, got String
parameter 'service_manage' expects a Boolean value, got String on node

you have then to manually set the types in smart parameters to boolean or other types.

if a module has type specifications then please import them with it.


Related issues 1 (1 open0 closed)

Is duplicate of Foreman - Feature #18553: Set Puppet 4/5 data types during class importNewActions
Actions #1

Updated by Anonymous about 7 years ago

  • Is duplicate of Feature #18553: Set Puppet 4/5 data types during class import added
Actions #2

Updated by Anonymous about 7 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF