Function to add defined types to a Puppet manifest