kwilczynski/facter-facts — Issue #3: mount fact fails with 1.8.7
Author: traylenator
Created: 2011-11-25 09:30:15+00:00
State: open

Hi,
On RHEL5 with ruby 1.8.7 the mounts.rb fails with:

puppet agent --onetime --no-daemonize --verbose --debug --trace

debug: /File[/etc/puppet/puppet.conf]/seltype: Found seltype default 'etc_t' for /etc/puppet/puppet.conf
debug: Finishing transaction 23501966555680
Could not retrieve operatingsystem: can't convert Array into String
/var/lib/puppet/lib/facter/mounts.rb:50:in `union'
/var/lib/puppet/lib/facter/mounts.rb:50
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:81:in `load'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:81:in `load_file'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:43:in `load_all'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `each'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:38:in `load_all'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:35:in `each'
/usr/lib/ruby/site_ruby/1.8/facter/util/loader.rb:35:in `load_all'
....