Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed COOK-787, template and attributes reflect tftp directory as an …

…attribute properly
  • Loading branch information...
commit cbca3e60ecc5c35df067be301406ea7658232297 1 parent 9a8f847
@mattray mattray authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  tftp/attributes/default.rb
  2. +1 −1  tftp/recipes/server.rb
View
2  tftp/attributes/default.rb
@@ -22,4 +22,4 @@
default[:tftp][:directory] = "/var/lib/tftpboot"
default[:tftp][:address] = "0.0.0.0:69"
default[:tftp][:tftp_options] = "--secure"
-default[:tftp][:options] = "-l -s /var/lib/tftpboot"
+default[:tftp][:options] = "-l -s #{node['tftp']['directory']}"
View
2  tftp/recipes/server.rb
@@ -28,7 +28,7 @@
directory node['tftp']['directory'] do
owner "root"
group "root"
- mode 0744
+ mode 0755
recursive true
action :create
end
Please sign in to comment.
Something went wrong with that request. Please try again.