Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-15 Thread Felix Frank
> realize(User[1], User[2], User[10]) > > > ah, but your collection syntax requires that you have to know the gid of > the resources you are realizing :) > > There are certainly cases where the collection syntax is easier, but I > feel that the vast majority of virtual resource realizat

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-14 Thread Nigel Kersten
On Mon, Feb 14, 2011 at 8:56 AM, Dan Bode wrote: > > > On Mon, Feb 14, 2011 at 6:49 AM, Nigel Kersten wrote: > >> On Sun, Feb 13, 2011 at 9:59 PM, Dan Bode wrote: >> >>> >>> We have only been teaching <| |> in the puppetmaster training as a way to >>> realize virtual resources. We do not teach t

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-14 Thread Dan Bode
On Mon, Feb 14, 2011 at 6:49 AM, Nigel Kersten wrote: > On Sun, Feb 13, 2011 at 9:59 PM, Dan Bode wrote: > >> >> We have only been teaching <| |> in the puppetmaster training as a way to >> realize virtual resources. We do not teach that it is possible to override >> attributes with this syntax

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-14 Thread Nigel Kersten
On Sun, Feb 13, 2011 at 9:59 PM, Dan Bode wrote: > > We have only been teaching <| |> in the puppetmaster training as a way to > realize virtual resources. We do not teach that it is possible to override > attributes with this syntax as well: <| |> {} (at least in part b/c the > implications/non-

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-13 Thread Dan Bode
On Sun, Feb 13, 2011 at 7:21 PM, Nigel Kersten wrote: > > > On Sat, Feb 12, 2011 at 7:40 PM, Dan Bode wrote: > >> >>> Could we add the ability to query whether a given resource has been realized or not? How much of an ordering problem is this? Package <| state == virtual |> Packag

Re: [Puppet Users] Re: [Puppet-dev] Collections and Realizing Resources

2011-02-13 Thread Daniel Pittman
On Sun, Feb 13, 2011 at 19:21, Nigel Kersten wrote: > On Sat, Feb 12, 2011 at 7:40 PM, Dan Bode wrote: >>> Could we add the ability to query whether a given resource has been realized or not? How much of an ordering problem is this? Package <| state == virtual |> Package <| st