Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2045

puppet module generate should produce a skeleton Rakefile

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 3.6.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-26 to 2014-4-02

      Description

      1. Overview #

      Currently in 2.7.x puppet module generates the following structure:

      <pre>
      % puppet module generate puppetlabs-test
      notice: Generating module at /Users/jeff/vms/puppet/tmp/puppetlabs-test
      puppetlabs-test
      puppetlabs-test/Modulefile
      puppetlabs-test/README
      puppetlabs-test/manifests
      puppetlabs-test/manifests/init.pp
      puppetlabs-test/metadata.json
      puppetlabs-test/spec
      puppetlabs-test/spec/spec_helper.rb
      puppetlabs-test/tests
      puppetlabs-test/tests/init.pp
      </pre>

      I'd like it to include a Rakefile with the following tasks by default

      • spec
      • build
      • doc

      I'll probably create tickets so that the generate method fills out working examples for each of these. Build should already "just work" using the puppet module build action so we won't need a ticket for that. Spec should run whatever unit test suite we're currently using, which is rspec-puppet today.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            redmine.exporter redmine.exporter
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support