Skip to content

Commit

Permalink
Merge pull request #228 from fastly/firewall_udp
Browse files Browse the repository at this point in the history
include firewall_rule for udp ports
  • Loading branch information
johnbellone committed Oct 6, 2015
2 parents 91eff66 + e807ebc commit 40f2b98
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@
action :create
command :allow
end

firewall_rule 'consul-udp' do
protocol :udp
port node['consul']['config']['ports'].values_at('serf_lan', 'serf_wan', 'dns')
action :create
command :allow
end
end

poise_service_user node['consul']['service_user'] do
Expand Down

0 comments on commit 40f2b98

Please sign in to comment.