Sign inSign up

peterhuene/puppetcpp

By peterhuene

Updated over 9 years ago

Prototype Puppet compiler written in C++

Image
2

10K+

peterhuene/puppetcpp repository overview

A pre-built version of the prototype Puppet compiler written in C++.

Known issues:

  • (REPL) Strings and heredoc tokens cannot span multiple lines (treated as error).
  • (REPL) Catalog interactions are not transactional; for example, including a class that declares a resource and then fails will result in both resources being declared in the catalog; the class cannot be included again.

Examples:

# Display help
$ docker run -it peterhuene/puppetcpp help

# Run a REPL environment with a node name of 'test'
$ docker run -it peterhuene/puppetcpp repl -n test

# Compile a file named 'foo.pp' in the current directory
$ docker run -it -v $(pwd):/puppet peterhuene/puppetcpp compile /puppet/foo.pp

Tag summary

Content type

Image

Digest

sha256:306f66f22

Size

26.5 MB

Last updated

over 9 years ago

docker pull peterhuene/puppetcpp