On Tuesday, June 11, 2013 7:58:39 AM UTC-5, c!w wrote:
>
> Yes, therefore we use stdlib 3.2.0.
>
>

Lots of people use stdlib, and lots of people use regsubst(), so you are 
unlikely to be the only person using them together.  I have not heard any 
other reports of the behavior you describe, however, nor do I find any 
reports of it on the PL bug tracker (not even closed ones).  Whatever the 
nature of your problem, therefore, I suspect that there's more to it than 
simply stdlib breaking regsubst().

It may be illuminating to create a simplified test case.  Build a new, 
clean, v 2.7.18 master, install stdlib 3.2.0 in it, and deploy a very 
simple manifest that exercises regsubst().  Something like this might do 
the trick:

site.pp
======
node default {
  $value = 'foo'
  $subst = regsubst($value, 'f', 'b')
  notice("Ghosts say '$subst'")
}


If the problem is a straight-up incompatibility between stdlib and the 
Puppet core, then any time the master tries to compile a catalog it ought 
to experience your error.  If it does, then you have a test case you can 
submit when you file a ticket against the issue.  Otherwise, either you 
have clobbered your primary master some other way, or else the issue is 
more complicated than you suppose.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to