make puppet rake lockfiles more generic