Issue #7606 has been updated by Daniel Pittman.
> Are others opposed to the idea of using this syntax?
>
> File[owner == foo] { ... }
>
> If we can agree on that, then we can mark this ‘accepted’ and unify the
> operators.
That would work for me.
----------------------------------------
Feature #7606: Spaceship operator too magical, hard to read
https://projects.puppetlabs.com/issues/7606
Author: Randall Hansen
Status: Investigating
Priority: Normal
Assignee:
Category:
Target version:
Affected Puppet version:
Keywords: puppetcamp-eu-2011
Branch:
The spaceship operator:
User <| group == sysadmin or title == luke |>
Is relatively easy to type but, if you don't know it, very hard to read. We
should consider a word-based syntax, e.g.:
collect User { group == sysadmin or title == luke }
User search { group == sysadmin or title == luke }
--
*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.