fixed boolean check and added puppet.conf