diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-08-16 23:48:44 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-08-16 23:48:44 -0700 |
commit | 1baf929ee98799747cedc275e511bf445792e77a (patch) | |
tree | e72487c29940a222a740db1c0b2b62b6d4c15747 /lib/chef/resource/template.rb | |
parent | cbfa29a274c1defe36c218d12b70b70e640f7069 (diff) | |
download | chef-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.rb | 6 |
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 ] ) |