Re: [Puppet Users] matching nodes with ReExp

2011-04-29 Thread Dean Wilson
On Fri, Apr 29, 2011 at 04:20:58AM -0700, Sans wrote: > node /^farm0\d+$/ inherits workernode { > > err: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find node 'farm029.example.com' on node > farm029.example.com That regex is saying, match farm0 at the start of

[Puppet Users] matching nodes with ReExp

2011-04-29 Thread Sans
Dear all, According to the Puppet doc, I used this: node /^farm0\d+$/ inherits workernode { } in the node.pp to match any host like farm001.example.com but I get error on the client nodes: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'farm029.exam