Groups
Groups
Sign in
Groups
Groups
Puppet Users
Conversations
About
Send feedback
Help
Issues with Node Regex
175 views
Skip to first unread message
cmvelo
unread,
Jul 4, 2010, 5:32:06 PM
7/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
I am trying to match groups of nodes - i.e.
Node: synd1-path2.path2.some.domain
Node: synd2-path2.path2.some.domain
By using either of the node definitions below:
node /^synd\w+\.path2\.some\.domain$/ {
include ibapps
include db
}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have already read through the Puppet language tutorial and it would
seem
that any of the above node definitions should work.
Host info:
--------------
CentOS 5.4
Puppet: puppet-0.25.5-1.el5
Thanks much in advance!
cmvelo
unread,
Jul 4, 2010, 6:13:26 PM
7/4/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Puppet Users
Got it working using:
node /^synd.*\.path2\.some\.domain$/ {
include ibapps
include db
Reply all
Reply to author
Forward
0 new messages