search for: hostname_prod_config

Displaying 1 result from an estimated 1 matches for "hostname_prod_config".

2007 Nov 02
2
Concatenate strings
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