Puppet is throwing invalid byte sequence in US-ASCII error because of '

This is on puppet enterprise version 3.0.0.