use correct puppet chaining for template