On Fri, May 20, 2011 at 1:20 PM, Randall Hansen <rand...@puppetlabs.com>wrote:

> http://projects.puppetlabs.com/issues/7605
>
> 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 }
>
> Please comment on the ticket or reply here, whichever you prefer.
>
> Thanks!
>
> r
>

+1 to this. Any change here should also updae the export syntax as well.

replace @@user { foo: ; }
with export user { foo: ; }

Any plans on making the realizing/importing queries changed as well?

realize/query: User <| title == "foo" |>
export query: User <<| title == "foo" |>>

-Jordan

>
> P.S. This is in response to feedback from my "Improving the Puppet
> DSL" session at Puppet Camp EU, 2011.  This ticket isn't a promise we
> will take action, but we could very much like comment and discussion
> from you good people.
>
> --
> 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.
>
>

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

Reply via email to