summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Leinartas <mleinartas@gmail.com>2010-08-17 01:27:09 -0500
committerChris Walters <cw@opscode.com>2010-09-30 11:36:46 -0700
commit11d68e4be8b569177f373b3fa3af1ed19422cb6a (patch)
tree883ef7602cfda0500a0e8a8d26531ce5a3993bff
parentc5f8e7ab80b9cf69ee02589ee776b848c0f2e356 (diff)
downloadchef-11d68e4be8b569177f373b3fa3af1ed19422cb6a.tar.gz
fix flag setting on @new_resource.overwrite
-rw-r--r--chef/lib/chef/provider/remote_directory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef/lib/chef/provider/remote_directory.rb b/chef/lib/chef/provider/remote_directory.rb
index b2ae291101..94a210e83a 100644
--- a/chef/lib/chef/provider/remote_directory.rb
+++ b/chef/lib/chef/provider/remote_directory.rb
@@ -51,7 +51,7 @@ class Chef
def action_create_if_missing
# if this action is called, ignore the existing overwrite flag
- @new_resource.overwrite = true
+ @new_resource.overwrite = false
action_create
end