
We can now put to Hiera MuranoPL objects (dicts and arrays) as a values. They will be serialized into YAML and put into Hiera. The same object can be obtained inside Puppet manifest from Hiera. * setHieraValue is deprecated now. putHieraData introduced instead. Since now it is possible to pass a dictionary object instead of key/value pair * shell files renamed to lowcase * yaml files processed by python and PyYAML instead of puppet module * gerrit configuration refactored as an example of the new api usage Change-Id: I61cff31d42fcc2ba46de4faa7f0fbc0cb117c08b
19 lines
321 B
Plaintext
19 lines
321 B
Plaintext
FormatVersion: 2.1.0
|
|
Version: 1.0.0
|
|
Name: Get value from hiera
|
|
|
|
Parameters:
|
|
key: $key
|
|
|
|
Body:
|
|
return get_value('{0}'.format(args.key)).stdout
|
|
|
|
Scripts:
|
|
get_value:
|
|
Type: Application
|
|
Version: 1.0.0
|
|
EntryPoint: get_hiera_data.sh
|
|
Files: []
|
|
Options:
|
|
captureStdout: true
|
|
captureStderr: true |