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

Already on GitHub? Sign in to your account

Module skeleton merging #832

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
3 participants

I am missing pregenerated files and templates folders. This pull request enables the user to merge the default skeleton and the custom skeleton or even skip the default skeleton.

By --without-default-skeleton, the default skeleton can be skipped.

By --with-custom-skeleton, the custom skeleton is also used.

If both skeletons are used, and files live in both, the default and the custom skeleton, the files from the default skeleton will be overridden.

@glarizza glarizza commented on an outdated diff Jun 4, 2012

lib/puppet/face/module/generate.rb
@@ -31,6 +31,16 @@
arguments "<name>"
+ option "--without-default-skeleton" do
+ summary "Skip default skeleton? Requires a custom skeletom through --with-custom-skeleton"
@glarizza

glarizza Jun 4, 2012

Contributor

Typo on 'skeleton'

@janschumann Thanks for the patch, but the plan is to refactor this subcommand as part of a larger UX improvement. It seems like we can do a much better job with the generate command. With that said, would you mind opening a Redmine ticket with feedback on how we can make it better?

I'm tracking user feedback in this ticket:

http://projects.puppetlabs.com/issues/15544

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment