Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ######## the fact file -> /etc/puppet/modules/custom/lib/facter/year_month.rb
- # hardware_platform.rb
- Facter.add("hardware_platformz") do
- setcode do
- %x{/bin/uname -i}.chomp
- end
- end
- ######## Added to puppet
- confpluginsync = true
- #factpath = $vardir/lib/facter
- factpath = /etc/puppet/modules/custom/lib/facter
- ######## Tried:
- # facter |grep hardw
- hardwareisa => x86_64
- hardwaremodel => x86_64
Add Comment
Please, Sign In to add comment