On May 16, 2012, at 11:27 AM, Pieter van de Bruggen wrote:
>
> […]
> At the risk of getting booed off, what of this as a syntax?
>
> class users::resources {
> resources { 'user':
> purge => true,
> unless => 'uid < 10000 OR uid > 20000';
> }
> }
>
> This seems to be a more flexible syntax over a wider range of properties and
> values, with the tradeoff of requiring a bit more effort and explanation to
> use. Thoughts?
I do like the more general syntax - and it's something that's been asked for a
lot. I know there's at least one ticket about this.
The counterpoint to your proposal is that there's working code for the other
one, so we might ourselves rejecting a patch and instead doing nothing.
--
Luke Kanies | http://about.me/lak | http://puppetlabs.com/ | +1-615-594-8199
--
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.