summaryrefslogtreecommitdiff
path: root/lib/puppetx
AgeCommit message (Collapse)AuthorFilesLines
2014-03-06(PUP-30) Add tests for heredoc at parser and evaluator levelsHenrik Lindberg1-7/+4
This also fixes issues found by running the new tests and debugging them.
2014-03-06(PUP-30) Add foundation for heredoc and epp (parser and model)Henrik Lindberg1-7/+8
This adds the foundation for support of heredoc and epp. The heredoc is at this point functional but does not get location information right since sublocator needs to be supported by the HeredocExpression. EPP is untested.
2014-02-17(maint) Add newline at end-of-file under libKylo Ginsberg1-1/+1
2013-12-19(pup-546) Remove hiera2 support from binderHenrik Lindberg1-31/+0
This removes hiera2 support from binder. Tests are updated to use ruby based bindings for the same data bindings as the removed hiera2 based bindings.
2013-08-03(yardoc) Correct and amend yardoc for the central clsses in binder.Henrik Lindberg1-1/+3
2013-08-03(#16856) Add extension capability to binder_config.yamlHenrik Lindberg2-2/+33
This makes it possible to specify scheme_handlers and hiera_backends by binding scheme/symbolic name to a runtime class name. These are loaded by the injector when required. Adds tests, and fixes issues.
2013-08-03(#16856) Refactor bindings scheme handlers, fix issues with type as hash key.Henrik Lindberg1-0/+130
The scheme handler support is now done via injection. This is good because it reuses existing functionality rather than providing yet another way of loading user code. A special injector only used while creating the real injector is created (called boot_injector). The scheme handlers are now broken out into separate ruby files (they were earlier in the BindingsComposer). The broken out handlers are now lazily loaded by an injector. A flaw was found in the type system; types where not usable as hash keys. This commit also fixes this by adding hash and eql methods to the types.
2013-08-03(#16856) Add class loader, system and default bindings, and extensions.Henrik Lindberg2-0/+128
This adds new functionality. - class loader loads classes sing the autoloader - puppetx defines extensions - syntax checker makes use of puppetx - Json syntax checker as example and for Heredoc/Templates support - Fixes in composer - Fixes and tweaks to supporting classes