gapi: langpuppet: Add initial implementation

This new entrypoint allows graph generation from both a Puppet manifest
and a piece of mcl code. The GAPI implementation wraps the two existing
GAPIs.
This commit is contained in:
Felix Frank
2018-12-04 22:58:50 +01:00
committed by Felix Frank
parent 28f343ac50
commit a49d07cf01
5 changed files with 513 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ import (
"github.com/purpleidea/mgmt/gapi"
// these imports are so that GAPIs register themselves in init()
_ "github.com/purpleidea/mgmt/lang"
_ "github.com/purpleidea/mgmt/langpuppet"
_ "github.com/purpleidea/mgmt/puppet"
_ "github.com/purpleidea/mgmt/yamlgraph"