Updated 'unless' statements for puppet2.7 compatibility

Fixes #28