[openstack-dev] [puppet] Parameters possible default value

Martin Mágr mmagr at redhat.com
Mon Jul 20 08:07:22 UTC 2015


Hey Yanis

On 07/17/2015 10:56 AM, Yanis Guenane wrote:
> Hello everyone,
>
>
> if set the value would have been set else it would default to upstream
> default.
>
> But Mathieu raised a fair point here[2] is that an empty string for some
> settings is a valid value, and hence we can't rely on
> it.
>   
>
> Since the beginning we are trying to avoid the use of a magic string, but
> I am starting to run out of idea here.
>
> Does someone has an idea on which sane value the default could be ?

How about  '*config_default*'? Or whatever similar which says you want 
the default value, but will potentially never be value of any parameter.

Regards,
Martin

>
> Thanks in advance,
>
> [1] https://review.openstack.org/#/c/202488
> [2] https://review.openstack.org/#/c/202574
> --
> Yanis Guenane
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




More information about the OpenStack-dev mailing list