[Puppet Users] Re: Does stdlib break the regsubst function?

2013-06-11 Thread c!w
Yes, therefore we use stdlib 3.2.0. Christian Am Dienstag, 11. Juni 2013 14:53:50 UTC+2 schrieb jcbollinger: > > > > On Tuesday, June 11, 2013 1:10:16 AM UTC-5, c!w wrote: >> >> Hi all, >> I have a tricky problem where I need your support. We use the regsubst >&

[Puppet Users] Does stdlib break the regsubst function?

2013-06-11 Thread c!w
Hi all, I have a tricky problem where I need your support. We use the regsubst function in one of our manifests to extract certain information from the fqdn. That code is running in production since months and does extactly what it should. 7: $customer = upcase(regsubst($::fqdn, '(^[^-]*)-[^-]

[Puppet Users] Does stdlib break the regsubst function?

2013-06-10 Thread c!w
Hi all, We are currently using the regsubst function of Puppet to generate some information out of our hostnames (customer, environment, and so.). The manifest is running fine since months. 7: $customer = regsubst($::fqdn, '(^[^-]*)-[^-]*.*', "\\1") 8: $environment = regsubst($::fqdn, '^[^-]