Fix for puppet3