Sofer Athlan-Guyot wrote:
> Hi,
> 
> The idea would be to have some of the types defined oslo config
> http://git.openstack.org/cgit/openstack/oslo.config/tree/oslo_config/types.py
> ported to puppet type.  Those that looks like good candidates are:
>  - Boolean;
>  - IPAddress;
> and in a lesser extend:
>  - Integer;
>  - Float;
> 
> For instance in puppet type requiring a Boolean, we may test
> "/[tT]rue|[fF]alse/", but the real thing is :
> 
>     TRUE_VALUES = ['true', '1', 'on', 'yes']
>     FALSE_VALUES = ['false', '0', 'off', 'no']
> 

Good idea.  I'd only add that we should convert 'true' and 'false' to
real booleans for Puppet's purposes since the Puppet language is now typed.

-- 
Cody

Attachment: signature.asc
Description: OpenPGP digital signature

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to