Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 257

hash2yaml to return an empty string

$
0
0
I would like a variable in my paramters.yml file to be empty, that is value: I am using hash2yaml to convert my hiera file into the config parameters.yml file, and I can't find a solution to get the final variable to be an empty string. I have tried the following: **hiera:** value: **result:** value: undef **hiera:** value: null **result:** value: undef **hiera:** value: nil **result:** value: nil **hiera:** value: '' **result:** value: '' Any help would be greatly appreciated.

Viewing all articles
Browse latest Browse all 257

Trending Articles