Created
August 28, 2023 16:13
-
-
Save h0tw1r3/a703a613bc883e8446f3b5fead8fa7a5 to your computer and use it in GitHub Desktop.
resolv.conf fact for puppet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# local resolver configuration | |
require 'resolv' | |
Facter.add('resolv') do | |
setcode do | |
Resolv::DNS::Config.default_config_hash | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment