Updated 'unless' statements for puppet2.7 compatibility