X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..aa8ac34d6a30d680ece0e9b0b8b0ccba84fa5559:/cookbooks/ftp/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/ftp/recipes/default.rb b/cookbooks/ftp/recipes/default.rb index d2c42100c..9cd534a0b 100644 --- a/cookbooks/ftp/recipes/default.rb +++ b/cookbooks/ftp/recipes/default.rb @@ -26,14 +26,14 @@ template "/etc/vsftpd.conf" do source "vsftpd.conf.erb" owner "root" group "root" - mode 0o644 + mode "644" end template "/etc/pam.d/vsftpd" do source "pam-vsftpd.erb" owner "root" group "root" - mode 0o644 + mode "644" end service "vsftpd" do @@ -45,10 +45,8 @@ end firewall_rule "accept-ftp-tcp" do action :accept - source "net" - dest "fw" - proto "tcp" + context :incoming + protocol :tcp dest_ports "ftp" - source_ports "-" helper "ftp" end