Created
November 22, 2021 21:42
-
-
Save ryanvgates/2e78243dc01d2ce781ca9e94f78ca112 to your computer and use it in GitHub Desktop.
Chef hardening_rul ip range solution
This file contains hidden or 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
hardening_rule "Open outbound port #{p} in firewall for Isilon at #{node[:server][:ip_range].gsub("/","-")}" do | |
direction :out | |
protocol :udp | |
port p | |
destination "#{node[:server][:ip_range]}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment