Never, mind I was looking in the wrong place.   It's in the YAML spec
(or it's a YAML thing).   Tilde represents NULL (or is equivalent
too):

   http://www.yaml.org/spec/1.2/spec.html#id2805071

Thanks...James

On Wed, Feb 11, 2015 at 11:01 AM, James Olin Oden <james.o...@gmail.com> wrote:
> Hey Clayton is this documented somewhere (i.e. the us of ~ like this,
> or the use of ~ as a value in hiera file?).   Thanks...James
>
> On Wed, Feb 11, 2015 at 10:53 AM, Clayton O'Neill
> <clayton.one...@gmail.com> wrote:
>> In my experience using tilde as the value will pass through the equivalent
>> of undef.  That said, I agree with all the comments about making optional
>> arguments actually optional, and not forcing them to be defined in hiera.
>>
>> For example:
>>
>> ---
>> key: ~
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Puppet Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to puppet-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/puppet-users/972e276e-c908-4666-a7ed-3d7de084f84c%40googlegroups.com.
>>
>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAPWHxfLztW0z0WTBba8FDn8zsjvk1BuAsykui3Ssjv7MSFQmiQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to