One possible solution is to fetch templates in variables. Then concatenate the string and push it into an inline_template()
:
$a = template( 'wppuppet/my-file.a.erb' )$b = template( 'wppuppet/my-file.b.erb' )$c = template( 'wppuppet/my-file.c.erb' )file { "${location}/final-file.php": ensure => file, content => inline_template( "${a}${b}${c}" ),}