Issue #7605 has been updated by Daniel Pittman.

This seems like optimization for the wrong thing: it feels like we are working 
hard to make it easy for users who don't know the syntax, in return for paying 
more when you create virtual things.  Which seems unbalanced: most of our users 
are not ignorant of the syntax, or at least will not remain that way for very 
long.

Regardless of that, whatever we decide to use to signify a virtual (and, 
presumably, exported/imported) resource, we should have *ONE* way to do it.  If 
we move from the sigil to a word we should absolutely eliminate the alternative 
form.
----------------------------------------
Feature #7605: Virtual resource operator is too magical, hard to read
https://projects.puppetlabs.com/issues/7605

Author: Randall Hansen
Status: Investigating
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 
Keywords: puppetcamp-eu-2011
Branch: 


The virtual resource operator:

    @user { luke: ensure => present }

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.:

    virtual user { luke: ensure => present }

--

*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.

Reply via email to