Created
April 3, 2017 18:11
-
-
Save binford2k/e11ffade96e2dc375371ae0f12ebff0e to your computer and use it in GitHub Desktop.
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
['192.168.1.24','192.168.1.25'].each |$ipaddress| { | |
firewall_rule { "Allow HTTP access to ${ipaddress}": | |
source_ip = $ipaddress, | |
destination_port = 80, | |
protocol = 'tcp', | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment