Defined Type: hashfile::json
- Defined in:
- manifests/json.pp
Summary
Defined type provides an implementation of the hash2json function, creating a JSON file from the input hashOverview
22 23 24 25 26 27 28 29 |
# File 'manifests/json.pp', line 22
define hashfile::json (
Hash $file,
Hash $data,
) {
File {$name:
* => merge($file, content => to_json_pretty($data)),
}
}
|