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

Create method to switch skeletons when creating new modules

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Template:

      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support