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

Create method to switch skeletons when creating new modules

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Having generalized some puppet code down to a generic level where providing data is the only requirement to making puppet code. And very similar to std mod https://github.com/stdmod/puppet-skeletons. I want a way how to tell puppet generate to use a different skeleton without swapping skeleton code out. We need a way to specify types of skeletons. Example:

      ```bash

      puppet module generate --type standard lmc-mynewmod
      puppet module generate --type simple lmc-myothernewmod

      ```

      With this functionality I can produce skeleton code to easily create modules that I have generalized and I can just use puppet generate --type javaapp to create a more specific module based on the skeleton.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cosman2001 Corey Osman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support