# File lib/chef/provider/deploy.rb, line 35
      def initialize(new_resource, run_context)
        super(new_resource, run_context)

        # will resolve to ither git or svn based on resource attributes , 
        # and will create a resource corresponding to that provider 
        @scm_provider = new_resource.scm_provider.new(new_resource, run_context)

        # @configuration is not used by Deploy, it is only for backwards compat with
        # chef-deploy or capistrano hooks that might use it to get environment information
        @configuration = @new_resource.to_hash
        @configuration[:environment] = @configuration[:environment] && @configuration[:environment]["RAILS_ENV"]
      end