summaryrefslogtreecommitdiff
path: root/lib/chef/resource/template.rb
diff options
context:
space:
mode:
authorAdam Jacob <adam@hjksolutions.com>2008-08-16 23:48:44 -0700
committerAdam Jacob <adam@hjksolutions.com>2008-08-16 23:48:44 -0700
commit1baf929ee98799747cedc275e511bf445792e77a (patch)
treee72487c29940a222a740db1c0b2b62b6d4c15747 /lib/chef/resource/template.rb
parentcbfa29a274c1defe36c218d12b70b70e640f7069 (diff)
downloadchef-1baf929ee98799747cedc275e511bf445792e77a.tar.gz
Adding remote_file and remote_directory support
Diffstat (limited to 'lib/chef/resource/template.rb')
-rw-r--r--lib/chef/resource/template.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/chef/resource/template.rb b/lib/chef/resource/template.rb
index c64d07e187..5f2512a274 100644
--- a/lib/chef/resource/template.rb
+++ b/lib/chef/resource/template.rb
@@ -24,13 +24,13 @@ class Chef
super(name, collection, node)
@resource_name = :template
@action = "create"
- @template = nil
+ @source = nil
@variables = Hash.new
end
- def template(file=nil)
+ def source(file=nil)
set_or_return(
- :template,
+ :source,
file,
:kind_of => [ String ]
)