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

How to get hiera yaml file to output null

$
0
0
I've googled this and can't find anyone with a similar problem. My parameter file for my application needs to have exactly the following: value: null Note I do not want quotes around the null. I have a .yaml file with the variables, and this is passed through a hash2yaml to make the content for my parameters.yaml file. However I can't find what string to have in my puppet hiera .yaml file to get this. I have tried the following with the results: Hiera data: value: null Result: value: :undef Hiera data: value: 'null' Result: value: 'null' Hiera data: value: "null" Result: value: "null" Can anyone advise? This is probably simple but I am new to puppet and have not been able to figure this out. Thanks in advance.

Viewing all articles
Browse latest Browse all 257

Trending Articles