Sha256: 6341e05391f295b56873ff2341ddb41561dec08a4d0e2e980a3c668d8cdd8203

Contents?: true

Size: 224 Bytes

Versions: 15

Compression:

Stored size: 224 Bytes

Contents

require 'socket'

module Chake

  class Backend

    class Local < Backend

      def command_runner
        ['sh', '-c']
      end

      def skip?
        node.hostname != Socket.gethostname
      end

    end

  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chake-0.4.3 lib/chake/backend/local.rb
chake-0.4.2 lib/chake/backend/local.rb
chake-0.4.1 lib/chake/backend/local.rb
chake-0.4 lib/chake/backend/local.rb
chake-0.3.3 lib/chake/backend/local.rb
chake-0.3.2 lib/chake/backend/local.rb
chake-0.3.1 lib/chake/backend/local.rb
chake-0.3 lib/chake/backend/local.rb
chake-0.2.3 lib/chake/backend/local.rb
chake-0.2.2 lib/chake/backend/local.rb
chake-0.2.1 lib/chake/backend/local.rb
chake-0.2 lib/chake/backend/local.rb
chake-0.1.7 lib/chake/backend/local.rb
chake-0.1.6 lib/chake/backend/local.rb
chake-0.1.5 lib/chake/backend/local.rb