Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default values for Interview Questions #135

Open
Cinderhaze opened this issue Jan 13, 2017 · 0 comments
Open

Default values for Interview Questions #135

Cinderhaze opened this issue Jan 13, 2017 · 0 comments

Comments

@Cinderhaze
Copy link

I'm working on customizing a skeleton for our own internal use. The metadata has a default License value of Apache-2.0 in the puppet codebase The skeleton comes with a LICENSE file that is the Apache 2.0 License.

When we create our internal modules, they are all under our own custom license. We obviously can put our own license in the templated LICENSE file, but is there any way to set the 'default' value of the interview questions in the skeleton, or via config somewhere?

One solution is to modify the metadata.json.erb to supply our license, but then you lose any ability for the interview question to be supplied with an alternative answer. Since there is a default license value, I can't just check on nil. I could do some sort of ENV var magic inside of the metadata.json.erb.

Any thoughts or suggestions? Should I open up a ticket about adding configurable default parameters for puppet module generate on the puppet JIRA tracker? If there was some way to put default options in your skeleton in the module_skeleton_dir that puppet module generate would check, that would be a pretty clean implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant