On Oct 17, 2008, at 10:28 AM, David Schmitt wrote:
>
> And
>
>     File["/var/log/blah"]{...}
>
> then becomes a shorthand for
>
>     File <| title == "/var/log/blah" |> {... }
>
> ?

Essentially, yes.

>
> This reminds me a bit of Feature#48: "Make filenames support  
> globbing".

Except this is server-side, and can only operate on the resources  
you've already specified, while globbing would be client-side and  
would actually add resources to the catalog.

As mentioned before, it would now be downright straightforward to  
support file globbing -- just add an 'evaluate' method to the file  
resource type that evaluates the glob and creates the resources that  
match.

-- 
SELF-EVIDENT, adj. Evident to one's self and to nobody else.
     -- Ambrose Bierce
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com


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

Reply via email to