| Hi bastelfreak our options are limited because of native extensions. If we add sys-filesystem as a hard dependency, then you won't be able to "gem install facter" unless 1) you have ruby-dev and compiler installed or 2) there is a precompiled version of ffi on rubygems.org (as there are for Windows and JRuby). We opted for a compromise, so sys-filesystem is a soft dependency. That way you can always "gem install facter", but you won't get all of the functionality until the dependency is installed. We do document that the `mountpoints` facts won't be resolved unless ffi is installed: https://github.com/puppetlabs/facter#requirements though that should probably be updated to say you need sys-filesystems and ffi. We'd welcome PRs to facter to document the requirements more clearly, but we don't have plans on changing facter's hard dependencies. I'd also be fine emitting a warning if mountpoints facts are omitted because the sys-filesystem dependency is missing. |