Add domain_template also as hiera setting

Add domain_template also as hiera setting