- provide cli command to render erb template
- template params (bindings) to be provided using json format
- use inputs from file (template.erb, params.json)
- use inputs from cli options / parameters
- render output to stdout OR to file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| common.pp: | |
| class profile::haproxy::common ( | |
| Hash $global_options, | |
| ) { | |
| Class {'Haproxy:' | |
| global_options => $global_options, | |
| } | |