Issue #11260 has been updated by Ken Barber. Project changed from Puppet Forge to Puppet
---------------------------------------- Refactor #11260: tool should generate code using the actual module name as the directory instead of username-modulename https://projects.puppetlabs.com/issues/11260#change-68043 Author: Garrett Honeycutt Status: Needs Decision Priority: Normal Assignee: Pieter van de Bruggen Category: Target version: Affected Puppet version: Keywords: UX Branch: This is what currently happens <pre> [root@puppet modules]# puppet-module generate ghoneycutt-apache ===================================================================== Generating module at /etc/puppetlabs/puppet/modules/ghoneycutt-apache --------------------------------------------------------------------- ghoneycutt-apache ghoneycutt-apache/Modulefile ghoneycutt-apache/tests ghoneycutt-apache/tests/init.pp ghoneycutt-apache/README ghoneycutt-apache/manifests ghoneycutt-apache/manifests/init.pp ghoneycutt-apache/metadata.json ghoneycutt-apache/spec ghoneycutt-apache/spec/spec.opts ghoneycutt-apache/spec/spec_helper.rb </pre> This is what should happen. <pre> [root@puppet modules]# puppet-module generate ghoneycutt-apache ===================================================================== Generating module at /etc/puppetlabs/puppet/modules/apache --------------------------------------------------------------------- apache apache/Modulefile apache/tests apache/tests/init.pp apache/README apache/manifests apache/manifests/init.pp apache/metadata.json apache/spec apache/spec/spec.opts apache/spec/spec_helper.rb </pre> People actually use the tool by doing the following, which one should not have to do. <pre># puppet-module generate ghoneycutt-apache && mv ghoneycutt-apache apache</pre> -- 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.
