Issue #2563 has been updated by James Turnbull.

Category set to language
Status changed from Unreviewed to Needs more information
Assigned to set to Brice Figureau
Target version set to 0.25.0

Can you provide the --debug --verbose --trace output for the issue?  Thanks.
----------------------------------------
Bug #2563: Can't use more than one node using regex node name matching
http://projects.reductivelabs.com/issues/2563

Author: John Axel Eriksson
Status: Needs more information
Priority: Normal
Assigned to: Brice Figureau
Category: language
Target version: 0.25.0
Complexity: Unknown
Affected version: 0.25.0rc1
Keywords: regex node name matching


If I have these two nodes:

node /^web\-([0-9]*)\.example\.com$/ {}

node /^db\d+\.example\.com$/ {}


then node matching doesn't work afaict. At least on the db nodes (not using the 
web ones currently) I get:

err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could 
not parse for environment production: can't convert Puppet::Parser::AST::Regex 
into String at /etc/puppet/manifests/nodes.pp:168 
notice: Using cached catalog
err: Could not apply complete catalog: Could not retrieve dependency 
'Exec[apt-update]' of Package[mysql-client] at 
/etc/puppet/modules/mysql/manifests/init.pp:3
notice: Finished catalog run in 0.03 seconds

As soon as I comment out the node with /^web\-([0-9]*)\.example\.com$/ the 
problem goes away.


-- 
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://reductivelabs.com/redmine/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