On Wed, May 29, 2013 at 8:47 AM, Erik Dalén <[email protected]>wrote:

> I would like to allow regexps to be passed as function parameters, do you
> others think that is a good idea? And do you think it should be added to
> only the future parser in that case?
>
>
What are the issues that are preventing this from happening right now? I
can imagine that the current parser doesn't allow them in that position,
and the future parser probably allows it already.


> There is also the question of allowing them to be stored in variables and
> passed as parameters to classes, defines and resources. That would be neat
> in my opinion but could have some issues as they can't be represented in
> JSON. That could cause issues for JSON catalogs and PuppetDB I guess.
>
>
If we are going to do that then I think we need to come up with a better
type system for resources so that we can know how to serialize and
deserialize catalogs.


> But anyway, only allowing them as function parameters shouldn't cause any
> issue for that.
>
> --
> Erik Dalén
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>


-- 
Andrew Parker
[email protected]
Freenode: zaphod42
Twitter: @aparker42
Software Developer

*Join us at PuppetConf 2013, August 22-23 in San Francisco - *
http://bit.ly/pupconf13*
**Register now and take advantage of the Early Bird discount - save 25%!*

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to