what ruby features are used in chef recipes?
I just started using chef and don't know much about ruby. I have problems understanding the language-syntax used in recipes. Say, I create a directory in a cookbook in recipes/default.rb like: directory "/home/test/mydir" do owner "test" mode "0755" action :create recursive true end I assume this is part of a valid ruby script. What do lines like owner "test" mean? Is this a function call, a variable assignment or something else entirely? Chef is written in Ruby and makes an extensive use of Ruby ability to design custom DSL. Almost every chef configuration file is written with a Ruby-based