Excellent. That works. Thank you very much
Matt
On Tue, Nov 17, 2015 at 11:04 AM, R.I.Pienaar wrote:
>
>
> - Original Message -
> > From: "Peter Bukowinski"
> > To: "puppet-users"
> > Sent: Tuesday, November 17, 2015 4:01:38 PM
>
That didn't work. Same error (Invalid tag)
On Tuesday, November 17, 2015 at 11:01:47 AM UTC-5, Peter Bukowinski wrote:
>
> Is consider removing the ^ and $ anchors. I think I you'll find it works
> without them.
>
> -- Peter
>
> On Nov 17, 2015, at 9:57 AM, Matt Shields > wrote:
>
> If there ar
- Original Message -
> From: "Peter Bukowinski"
> To: "puppet-users"
> Sent: Tuesday, November 17, 2015 4:01:38 PM
> Subject: Re: [Puppet Users] Regex and Hyphen in node definitions
> Is consider removing the ^ and $ anchors. I think I you
Is consider removing the ^ and $ anchors. I think I you'll find it works
without them.
-- Peter
> On Nov 17, 2015, at 9:57 AM, Matt Shields wrote:
>
> If there are any other suggestions on how to regex the nodes, that would be
> extremely helpful. We name our hosts like.
>
> {clientname}-{
If there are any other suggestions on how to regex the nodes, that would be
extremely helpful. We name our hosts like.
{clientname}-{purpose}{001-999}
Ex.
ops-db001 -> uses db profile
ops-bidb001 -> uses bidb profile
ops-sdb001 -> uses sdb profile
ops-web001 -> uses web profile
client1-db001
c
I just updated to 3.8.4-1 and I'm still seeing the same issue
On Tuesday, November 17, 2015 at 8:38:33 AM UTC-5, Matt Shields wrote:
>
> I'm running Puppet 3.7.4-1
>
> On Monday, November 16, 2015 at 10:50:00 PM UTC-5, Henrik Lindberg wrote:
>>
>> On 2015-16-11 13:44, Matt Shields wrote:
>> > I'm
I'm running Puppet 3.7.4-1
On Monday, November 16, 2015 at 10:50:00 PM UTC-5, Henrik Lindberg wrote:
>
> On 2015-16-11 13:44, Matt Shields wrote:
> > I'm having an issue with trying to use regex with hostnames that have a
> > hyphen in their name. How can I get this to work?
> >
> > node /^(.
On 2015-16-11 13:44, Matt Shields wrote:
I'm having an issue with trying to use regex with hostnames that have a
hyphen in their name. How can I get this to work?
node /^(.*)-(db00)(.*)$/ {
include role::db
}
[root@ops-db001 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving
I'm having an issue with trying to use regex with hostnames that have a
hyphen in their name. How can I get this to work?
node /^(.*)-(db00)(.*)$/ {
include role::db
}
[root@ops-db001 ~]# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not