fixes init and logrorate for puppet::master