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

Puppet resource should be able to output yaml format for create_resources. (pull request provided)

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.0.0
    • Component/s: None
    • Labels:
    • Template:

      Description

      This enables you to list resources in YAML format for copy/paste into Hiera files.
      The output should be suitable for use with the create_resources function

      Use case:
      In my consulting jobs, I often get an example machine that has been setup with a deployment script. A lot of the settings have to be managed by Puppet.

      The puppet resource face can be used to output DSL, but I use create_resources a lot combined with Hiera data. I found this particularly useful with firewall rules, but also for some other stuff.

      As said, here is the pull request. https://github.com/puppetlabs/puppet/pull/2986

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                Unassigned
                Reporter:
                gerapeldoorn Ger Apeldoorn
                QA Contact:
                Eric Thompson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 1 hour
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified