Hello,
Going through the style sheet I was modifying some classes and I hit
this, maybe a bug maybe not:
--- test.pp ---
$mount = ''aebec:aebec''
$splitted = split($mount, '':'')
# Intentionally getting a nil/empty/not there/ element from the array
#
$test = $splitted[4]
alert($test)
# This doesn''t work
$no_dq = regsubst($test, ''e'', '','',
''G'')
alert($no_dq)
# This works but is not the style standard way of using a single
variable
$with_dq = regsubst("$test", ''e'',
'','', ''G'')
alert($with_dq)
--- end test.pp ---
puppet apply test.pp
alert: Scope(Class[main]):
alert: Scope(Class[main]): e
alert: Scope(Class[main]):
Any help will be appreciated.
Thank you.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
puppet-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.