On Jun 20, 2012, at 5:22 AM, R.I.Pienaar wrote: >> Are hyphens now officially bad practice? I have a nagging half-memory >> that I read that they're not good in facts, indeed all of the normal >> facts are underscore'd but I can't remember where I read it. > > They've always been a bad idea, used to be documented to be supported for > a short while but they never worked well, I think the agreement is that > they will just not be allowed soon in any variable or class name
In 2.7.16 they work fine in both class names and variables. I don't know about facts, since I haven't written any. Is this really a necessary or useful change? When one is dealing with services and files that contain hyphens, it's quite annoying to have class my_thing { file { 'my-thing': … } service { 'my-thing': } } This will easily produce more human errors. What value is there in not supporting hyphens? -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.