Fix template variable deprecation warnings for Puppet > 3.2

The current template causes deprecation warnings with current Puppet versions. This change fixes the warnings.