LinchPin Extra Modules¶
These are modules not documented elsewhere in the LinchPin API, but may be useful to a developer.
-
class
linchpin.utils.dataparser.
DataParser
[source]¶ -
-
process
(file_w_path, data_w_path=None)[source]¶ Processes the PinFile and any data (if a template) using Jinja2. Returns json of PinFile, topology, layout, and hooks.
Parameters: - file_w_path – Full path to the provided file to process
- targets – A tuple of targets to provision
- run_id – An optional run_id if the task is idempotent or a destroy action
-