Sha256: db0c687f92e53fe111f0d19615d3cfe359978ea6833bc005abbf895e5bf5257e

Contents?: true

Size: 728 Bytes

Versions: 77

Compression:

Stored size: 728 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 => ::Specinfra.configuration.exit_status,
          :exit_signal => nil,
        })
      end
    end
    class Cmd < Base
      def run_command cmd
        CommandResult.new({
          :stdout      => ::Specinfra.configuration.stdout,
          :stderr      => ::Specinfra.configuration.stderr,
          :exit_status => ::Specinfra.configuration.exit_status,
          :exit_signal => nil,
        })
      end
    end
  end
end

Version data entries

77 entries across 77 versions & 4 rubygems

Version Path
serverspec-2.42.3 spec/spec_helper.rb
serverspec-2.42.2 spec/spec_helper.rb
serverspec-2.42.1 spec/spec_helper.rb
serverspec-cem-acpt-2.42.0 spec/spec_helper.rb
serverspec-2.42.0 spec/spec_helper.rb
serverspec-2.41.8 spec/spec_helper.rb
serverspec-2.41.7 spec/spec_helper.rb
serverspec-2.41.6 spec/spec_helper.rb
serverspec-vyos-config-0.2.1 spec/spec_helper.rb
serverspec-vyos-config-0.2.0 spec/spec_helper.rb
serverspec-2.41.5 spec/spec_helper.rb
serverspec-2.41.4 spec/spec_helper.rb
serverspec-ruby19-2.24.3 spec/spec_helper.rb
serverspec-2.41.3 spec/spec_helper.rb
serverspec-2.41.2 spec/spec_helper.rb
serverspec-2.41.1 spec/spec_helper.rb
serverspec-2.41.0 spec/spec_helper.rb
serverspec-2.40.0 spec/spec_helper.rb
serverspec-2.39.2 spec/spec_helper.rb
serverspec-vyos-config-0.1.3 spec/spec_helper.rb