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

How to use puppet-strings outside of the puppet itself?

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed
    • Priority: Normal
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Compiler, Docs
    • Labels:
    • Environment:

      A linux or windows machine WITHOUT any of puppet installed, but ruby is fine.

    • Template:
    • Epic Link:
    • QA Risk Assessment:
      Needs Assessment

      Description

      Can I use puppet-strings gem without puppet itself? I need to parse manifests into a JSON that would contain classes and defined types, but without puppet itself.

      Side note: I am in an attempt to write a GUI tool that would parse puppet manifests, along with classes, defined types (including their parameters and docs on them), and then render a GUI window, so unexperienced users with puppet would be able to manage hieradata via drag-and-drop. To do so, I need to know what classes and defined types the manifests have.

      Puppet-strings is an excellent solution to my problem, except with a note that it requires puppet itself, which might be inappropriate since the GUI might not have the puppet installed.

      Thank you in advance.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            desertkun Alex Siryi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support