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

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

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Normal
    • Resolution: Incomplete
    • None
    • None
    • Compiler, Docs
    • A linux or windows machine WITHOUT any of puppet installed, but ruby is fine.

    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support