    # File lib/chef/provider/deploy.rb, line 318
          def run_options(run_opts={})
            run_opts[:user] = @new_resource.user if @new_resource.user
            run_opts[:group] = @new_resource.group if @new_resource.group
            run_opts[:environment] = @new_resource.environment if @new_resource.environment
            run_opts[:command_log_prepend] = @new_resource.to_s
            run_opts[:command_log_level] ||= :debug
            if run_opts[:command_log_level] == :info
              if STDOUT.tty? && !Chef::Config[:daemon] && Chef::Log.info?
                run_opts[:live_stream] = STDOUT
              end
            end
            run_opts
          end