Issue #7599 has been updated by Daniel Pittman.
This seems like the modern fad of optimizing for the wrong thing to me: skipping the comma, or semi-colon, where we can guess what was meant makes our parser more complex, in return for very little saving. Is there some deeper value to this that I am missing, other than the ability to skip the comma in one of the forms of the list? ...or is this a mechanism to sneak in Python-like whitespace sensitivity into the language? That said, it isn't like we have a super-complex syntax. Someone could try this out by writing a preprocessor for Puppet that added those syntax elements where they were inferred; this could run from a `prerun` command in the master configuration and update the live directory appropriately during normal operation. No changes on our part would be specifically required. ---------------------------------------- Feature #7599: Newline should behave as comma for record separator https://projects.puppetlabs.com/issues/7599 Author: Randall Hansen Status: Unreviewed Priority: Normal Assignee: Category: Target version: Affected Puppet version: Keywords: puppetcamp-eu-2011 Branch: This (or something very like it) should work: file { foo: ensure => present mode => 0644 } Note the lack of commas after key/value pairs. -- *This ticket is a request for comment, coming out of a discussion at Puppet Camp EU, 2011. No promises whatever about implementation, but there were enough people interested to open a public discussion.* -- 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.
