# File lib/specinfra/host_inventory/facter.rb, line 6 def get begin ret = backend.run_command('facter --puppet --yaml') rescue StandardError nil end ret.exit_status.zero? ? YAML.load(ret.stdout) : nil end