diff options
author | Adam Jacob <adam@hjksolutions.com> | 2008-05-01 17:42:36 -0700 |
---|---|---|
committer | Adam Jacob <adam@hjksolutions.com> | 2008-05-01 17:42:36 -0700 |
commit | 4320cdb02e32147bf589d23c3b1ce02a2eba7731 (patch) | |
tree | cbf423c18aa03c9204fbfd6da83df29439ff2d95 /lib | |
parent | 2307eb8a7abbbf87676359c9bdffe14758d7c1ad (diff) | |
download | chef-4320cdb02e32147bf589d23c3b1ce02a2eba7731.tar.gz |
The symlink provider should set the source_file to an empty string if the links don't exist
Diffstat (limited to 'lib')
-rw-r--r-- | lib/chef/platform.rb | 3 | ||||
-rw-r--r-- | lib/chef/provider/directory.rb | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lib/chef/platform.rb b/lib/chef/platform.rb index a37bb105c8..2e5899a5af 100644 --- a/lib/chef/platform.rb +++ b/lib/chef/platform.rb @@ -33,7 +33,8 @@ class Chef :solaris => {}, :default => { :file => Chef::Provider::File, - :directory => Chef::Provider::Directory + :directory => Chef::Provider::Directory, + :link => Chef::Provider::Link, } } diff --git a/lib/chef/provider/directory.rb b/lib/chef/provider/directory.rb index e30ca1894d..da6770e47b 100644 --- a/lib/chef/provider/directory.rb +++ b/lib/chef/provider/directory.rb @@ -18,8 +18,6 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # -require 'digest/md5' -require 'etc' require File.join(File.dirname(__FILE__), "file") class Chef |