Sha256: 0a2a57bb135424b93dfc785542c058d9d3d233fb2ceaf5bc38bbf0567e7eabae

Contents?: true

Size: 656 Bytes

Versions: 13

Compression:

Stored size: 656 Bytes

Contents

require 'serverspec'

set :backend, :exec

module Specinfra
  module Backend
    class Exec < Base
      def run_command cmd
        CommandResult.new({
          :stdout      => ::Specinfra.configuration.stdout,
          :stderr      => ::Specinfra.configuration.stderr,
          :exit_status => 0,
          :exit_signal => nil,
        })
      end
    end
    class Cmd < Base
      def run_command cmd
        CommandResult.new({
          :stdout      => ::Specinfra.configuration.stdout,
          :stderr      => ::Specinfra.configuration.stderr,
          :exit_status => 0,
          :exit_signal => nil,
        })
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
serverspec-2.7.1 spec/spec_helper.rb
serverspec-2.7.0 spec/spec_helper.rb
serverspec-2.6.0 spec/spec_helper.rb
serverspec-2.5.0 spec/spec_helper.rb
serverspec-2.4.0 spec/spec_helper.rb
serverspec-2.3.1 spec/spec_helper.rb
serverspec-2.3.0 spec/spec_helper.rb
serverspec-2.2.0 spec/spec_helper.rb
serverspec-clc-2.1.0 spec/spec_helper.rb
serverspec-2.1.0 spec/spec_helper.rb
serverspec-2.0.1 spec/spec_helper.rb
serverspec-2.0.0 spec/spec_helper.rb
serverspec-2.0.0.beta21 spec/spec_helper.rb