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
>&
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, '(^[^-]*)-[^-]
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, '^[^-]