1

In the chef resource document, why do they have parenthesis around the name in the template resource in the execute examples?

view story
linux-howto

http://serverfault.com – I'm looking at the http://docs.opscode.com/chef/resources.html#execute and under "Execute" in "Execute a command using a template", they call template with parenthesis around the argument. Just a handful of statements earlier, they call execute sans parenthesis. For the rest of the document, template is called without parenthesis. Is there a reason for this inconsistency? execute "forward_ipv4" do command "echo > /proc/.../ipv4/ip_forward" action :nothing end template( "/etc/file_name.conf" ) do source "routing/file_name.conf.erb" notifies :run, 'execute[forward_ipv4]', :delayed (HowTos)