Permalink
Browse files

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

…attribute properly
  • Loading branch information...
1 parent 9a8f847 commit cbca3e60ecc5c35df067be301406ea7658232297 @mattray mattray committed Oct 27, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 tftp/attributes/default.rb
  2. +1 −1 tftp/recipes/server.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']}"
@@ -28,7 +28,7 @@
directory node['tftp']['directory'] do
owner "root"
group "root"
- mode 0744
+ mode 0755
recursive true
action :create
end

0 comments on commit cbca3e6

Please sign in to comment.