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 [email protected]. 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.
