adding cpuset line to other templates, updating conditional to check
for empty array.