root@saltmaster01:0 facts.d # ls -l |
total 4 |
-rw-r--r--. 1 root root 12 Apr 15 00:55 hello.txt |
|
root@saltmaster01:0 facts.d # cat hello.txt |
hello=world |
|
root@saltmaster01:0 facts.d # facter --debug |
2020-04-15 00:56:29.995843 INFO puppetlabs.facter - executed with command line: --debug. |
2020-04-15 00:56:29.996016 DEBUG leatherman.ruby:505 - ruby was found at "/usr/bin/ruby". |
2020-04-15 00:56:29.996103 DEBUG leatherman.execution:93 - executing command: /usr/bin/ruby -e print(['libdir', 'archlibdir', 'sitearchlibdir', 'bindir'].find do |name|dir = RbConfig::CONFIG[name];next unless dir;file = File.join(dir, RbConfig::CONFIG['LIBRUBY_SO']);break file if File.exist? file;false end) |
2020-04-15 00:56:30.084541 DEBUG | - /usr/lib64/libruby.so.2.6.5 |
2020-04-15 00:56:30.084689 DEBUG leatherman.execution:563 - process exited with status code 0. |
2020-04-15 00:56:30.086642 INFO leatherman.ruby:138 - ruby loaded from "/usr/lib64/libruby.so.2.6.5". |
2020-04-15 00:56:30.086820 DEBUG leatherman.dynamic_library:77 - symbol rb_data_object_alloc not found in library /usr/lib64/libruby.so.2.6.5, trying alias rb_data_object_wrap. |
2020-04-15 00:56:30.165503 INFO leatherman.ruby:187 - using ruby version 2.6.5 |
2020-04-15 00:56:30.165578 INFO puppetlabs.facter - resolving all facts. |
2020-04-15 00:56:30.165652 DEBUG puppetlabs.facter - fact "facterversion" has resolved to "3.14.2". |
2020-04-15 00:56:30.165836 DEBUG leatherman.file_util:65 - Error reading file: No such file or directory |
2020-04-15 00:56:30.166114 DEBUG puppetlabs.facter - loading all custom facts. |
2020-04-15 00:56:30.166156 DEBUG puppetlabs.facter - loading custom fact directories from config file |
2020-04-15 00:56:30.166235 DEBUG puppetlabs.facter - skipping external facts for "/opt/puppetlabs/facter/facts.d": No such file or directory |
2020-04-15 00:56:30.166274 DEBUG puppetlabs.facter - searching "/etc/facter/facts.d" for external facts. |
2020-04-15 00:56:30.166322 DEBUG puppetlabs.facter - resolving facts from text file "/etc/facter/facts.d/hello.txt". |
2020-04-15 00:56:30.166414 DEBUG puppetlabs.facter - fact "hello" has resolved to "world". |
2020-04-15 00:56:30.166460 DEBUG puppetlabs.facter - completed resolving facts from text file "/etc/facter/facts.d/hello.txt". |
2020-04-15 00:56:30.166512 DEBUG puppetlabs.facter - skipping external facts for "/etc/puppetlabs/facter/facts.d": No such file or directory |
2020-04-15 00:56:30.166577 DEBUG puppetlabs.facter - resolving ruby facts. |
... |
timezone => UTC |
virtual => vmware |
|
root@saltmaster01:0 facts.d # echo $? |
0 |