2015-07-21 19:45:23 +02:00

20 lines
269 B
Ruby

#
# Cookbook Name:: kosmos-base
# Recipe:: firewall
#
# Copyright 2015, Kosmos
#
# All rights reserved - Do Not Redistribute
#
# enable default firewall
firewall 'ufw' do
action :enable
end
firewall_rule 'ssh' do
port 22
protocol :tcp
action :allow
end