use @instances in templates as method access is deprecated in puppet 3