fixes for puppet 2 on centos 6