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-vyos-config-0.1.2 spec/spec_helper.rb
serverspec-2.39.1 spec/spec_helper.rb
serverspec-2.39.0 spec/spec_helper.rb
serverspec-2.38.1 spec/spec_helper.rb
serverspec-2.38.0 spec/spec_helper.rb
serverspec-vyos-config-0.1.1 spec/spec_helper.rb
serverspec-vyos-config-0.1.0 spec/spec_helper.rb
serverspec-2.37.2 spec/spec_helper.rb
serverspec-2.37.1 spec/spec_helper.rb
serverspec-2.37.0 spec/spec_helper.rb
serverspec-2.36.1 spec/spec_helper.rb
serverspec-2.36.0 spec/spec_helper.rb
serverspec-2.35.0 spec/spec_helper.rb
serverspec-2.34.0 spec/spec_helper.rb
serverspec-2.33.0 spec/spec_helper.rb
serverspec-2.32.0 spec/spec_helper.rb
serverspec-2.31.1 spec/spec_helper.rb
serverspec-2.31.0 spec/spec_helper.rb
serverspec-2.30.1 spec/spec_helper.rb
serverspec-2.30.0 spec/spec_helper.rb