Issue #6942 has been updated by Daniel Pittman.

Tracker changed from Bug to Feature
Subject changed from "in" operator doesn't work in filter for exported resource 
to Add the "in" operator for collecting exported resources.

I have moved this to a feature request, since none of those were previously 
supported.  We hope to do something to improve on this soon, but I can't give 
you a committed timeline right now.  (...and it will likely suffer whatever 
backend limitations exist, so regexp might happen but no promises.)
----------------------------------------
Feature #6942: Add the "in" operator for collecting exported resources.
https://projects.puppetlabs.com/issues/6942#change-55485

Author: Dan Urist
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.3
Keywords: 
Branch: 


It appears the "in" operator doesn't work within a filter expression for an 
exported resource. This syntax:

    Nagios_host <<| fqdn in ['test.puppet.cms.ucar.edu'] |>>

yields this error:

    Syntax error at 'in'; expected '|>>'

whereas this syntax works as documented. 

    Nagios_host <<| fqdn == 'test.puppet.cms.ucar.edu' |>>

This is with puppet 2.6.3 on Ubuntu lucid.




-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en.

Reply via email to