Issue #13338 has been updated by Daniel Pittman.

If more than about 20 percent of the settings are "string", then having the 
sane default is nicer.  Having to type the same thing every time is not much 
fun from a developer point of view, unless it has some really compelling 
advantages.
----------------------------------------
Feature #13338: consider making ":type" parameter required for settings.
https://projects.puppetlabs.com/issues/13338#change-58533

Author: Chris Price
Status: Needs More Information
Priority: Normal
Assignee: 
Category: 
Target version: Telly
Affected Puppet version: 
Keywords: 
Branch: 


As part of #7749, I've moved the typing for settings to something a good deal 
closer to "strongly typed" than it was previously.  We no longer use any 
regular expression stuff to try to "guess" what type a setting is based on its 
value.  The current behavior is basically: "If you don't explicitly specify a 
type, then it's a :string".

Personally, I'd be in favor of getting rid of even that fallback, and making 
:type mandatory.  Perhaps this could be discussed and we can get some 
consensus, and then this ticket can either be closed or acted upon... the 
implementation would be trivial. 


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to