Feature #3201
openSyntax for creating smart variables in the puppet manifests
Description
Currently I am using puppet templates and smart variables to allow developers to create systems bespoke to there needs but still conforming to our build standards.
I have to convert the config files to puppet templates expose the variable in the manifest and then go into foreman import the puppet classes then create the smart variable types. As 75% of this is done in editing text files could there not be a syntax in the puppet manifest files that when imported by foreman creates the required smart variable and set the parameters like type, default value and input validator.
Updated by Dominic Cleal about 11 years ago
- Category set to Puppet integration
Smart class parameters (as opposed to smart variables) means the list of parameters can already be retrieved today, but yes, the other info such as type and validation would be great if encoded in the manifest. kafo (used in foreman-installer 1.3) added a Puppet rdoc syntax for types, which we could reuse and possible extend.