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 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 931 bytes Desc: OpenPGP digital signature URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20151102/12b445c7/attachment.pgp>