Here is my naive approach:
# puppet/init.pp
$x = \'hello \' +
\'goodbye\'
This does not work. How does one concatenate strings i
Another option not mentioned in other answers is using Puppet's sprintf() function, which functions identically to the Ruby function behind it. An example:
$x = sprintf('hello user %s', 'CoolUser')
Verified to work perfectly with puppet. As mentioned by chutz, this approach can also help you concatenate the output of functions.