fixes for fedora and puppet