atom feed3 messages in com.madstop.puppet-users[Puppet-users] Concatenate strings
FromSent OnAttachments
Edward SimmondsNov 2, 2007 12:28 pm 
Adrian PhillipsNov 2, 2007 12:32 pm 
Edward SimmondsNov 2, 2007 1:10 pm 
Subject:[Puppet-users] Concatenate strings
From:Edward Simmonds (esim@speakeasy.net)
Date:Nov 2, 2007 12:28:16 pm
List:com.madstop.puppet-users

Hi everyone.

Mandatory disclaimer: New to puppet/clueless but learning/please don't get fed up with me yet...

Mandatory praise: Love puppet so far...

Mandatory stupid first question:

How do I concatenate a variable to an arbitrary string?

ie.

$someval="$hostname_prod_config"

So if $hostname is "myserver", then $someval should result in "myserver_prod_config".

I haven't been able to find an example of this in the docs/recipes yet...

Thanks,

Ed