summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorAdam Jacob <adam@opscode.com>2009-08-13 18:46:56 -0700
committerAJ Christensen <aj@opscode.com>2009-09-04 13:23:47 +1200
commit3ead7a2b936cca291d3a91e1d42effce09969dc4 (patch)
tree4aff91563734a3bbbad2e8a7f85ccf609bb004cf /Rakefile
parentca6dd91b34e876024b51f218f0e43601c467a94f (diff)
downloadchef-3ead7a2b936cca291d3a91e1d42effce09969dc4.tar.gz
Final fix for chef-492 - makes the context for the template provider always be distinct from the data we feed it in the variables method, to make sure we don't inadvertantly leak the node object into other persistent data.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index ad5fe113ff..07de5328f6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -171,6 +171,10 @@ namespace :features do
end
namespace :provider do
+ Cucumber::Rake::Task.new(:template) do |t|
+ t.profile = "provider_template"
+ end
+
Cucumber::Rake::Task.new(:remote_file) do |t|
t.profile = "provider_remote_file"
end