Issue #7216 has been updated by Daniel Pittman.

Garrett Honeycutt wrote:

> For this to happen, we would need to 
> 
> * Standardize on the meta data. Preferably adding it to the 
> Modulefile/metadata.json that we already use.
>   * each variable would need
>     * name
>     * type
>     * validation type
> * Have a function to prompt for a given type of data (string or array)
> * Have a function to validate user input

So, er, this seems to heavily overlay with getting that same metadata and 
validation into the Puppet DSL and regular modules to me.  Are you proposing 
that this lives out in the installer exclusively, or that it is part of Puppet 
proper?  Would that change in future?

----------------------------------------
Feature #7216: Optionally have installer on Puppet master configure data for 
base set of modules
https://projects.puppetlabs.com/issues/7216

Author: Garrett Honeycutt
Status: Unreviewed
Priority: Normal
Assignee: 
Category: 
Target version: 
Keywords: 
Branch: 
Affected PE version: 


If I am installing a Puppet Master, it would be nice if it gave me the option 
to enable certain modules. Upon enabling them it would prompt for applicable 
data.

ie:
<pre>
Manage resolver? [Y/n] Y

Please list your name servers, comma delimited: dns1.foo.tld,dns2.foo.tld

Please supply your search path, comma delimited [foo.tld]: eng.foo.tld,foo.tld
</pre>

Then this data could be written and accessed by a module.



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to