puppet-strings/spec
Eric Putnam da5cad7cb1
(PDOC-228) puppet plans support
Currently, Puppet Strings only supports Puppet Tasks. Since Plans are
sort of connected to Tasks, it seemed right that Strings should also
support Plans. That and Plans are a thing that needs to be documented.

First, the Puppet[:tasks] setting needs to be set to add the 'plan' keyword to the Puppet Parser's lexicon, so this sets it in the Strings parser if the setting exists. If it does not exist and Puppet.version is less than 5.0.0, Strings will error out.

Second, processing for the Plans themselves is set up. Plans are very
similar to other Puppet objects like defined types and classes, so this
involved some serious copy-pasta.

Third, all the template/to_hash scaffolding for the different outputs is in place (HTML,
JSON, Markdown).

Yey.
2018-03-27 09:59:20 -07:00
..
acceptance (PDOC-224) Handle --emit-json(-stdout) again 2018-03-01 18:28:48 +01:00
fixtures (PDOC-228) puppet plans support 2018-03-27 09:59:20 -07:00
unit/puppet-strings (PDOC-228) puppet plans support 2018-03-27 09:59:20 -07:00
spec_helper.rb (PDOC-228) puppet plans support 2018-03-27 09:59:20 -07:00
spec_helper_acceptance.rb (PDOC-144) acceptance: fix windows pre-suite 2017-02-07 00:35:33 +00:00