-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Friday 09 May 2008, Luke Kanies wrote:
> On May 9, 2008, at 3:20 PM, Marcin Owsiany wrote:
> > I'm not sure about the exact syntax, but I do think that there
> > should be
> > a "sticky" relation feature (possibly with another feature to
> > "unstick"
> > that).
> >
> > What do you think?
>
> I definitely want something like this feature -- I think I filed it as
> an enhancement request a while ago.
>
> Really, what we need is a way to specify a relationship to all
> resources matching a given query, or of a given type.
>
> I'm kind of thinking the idea of using our existing query language --
> File <| ... |> -- combined with overrides *might* work, but it would
> look silly because most times you wouldn't have any parameters:
>
> Package <| |> { require => Exec[blah] }
>
> I've been thinking of adding something like this anyway because people
> sometimes need to override values in collected resources.
> Generalizing this syntax into a query syntax that allowed you to
> perform operations on sets of resources would be a good idea.
I believe I wrote something up about this a while ago, although I cannot find
it anymore.
Syntaxwise this would tie in best for me in the override syntax:
Package[*] { require => Class[apt] }
Although this would of course immediately lead to a loop on Package[apt].
Regards, DavidS
- --
The primary freedom of open source is not the freedom from cost, but the free-
dom to shape software to do what you want. This freedom is /never/ exercised
without cost, but is available /at all/ only by accepting the very different
costs associated with open source, costs not in money, but in time and effort.
- -- http://www.schierer.org/~luke/log/20070710-1129/on-forks-and-forking
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIMpgL/Pp1N6Uzh0URAha+AJ0fxUOJeiSR1N/Y1m62suSZcI7vvwCfcicX
RlMNu5k86p+fD7j5/iLv39g=
=flGP
-----END PGP SIGNATURE-----
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---