Sha256: d72a7a9106de370d2e6baeff79b3975162754255dfb339c3d8ef73a46b85ecf1

Contents?: true

Size: 312 Bytes

Versions: 7

Compression:

Stored size: 312 Bytes

Contents

module Landrush
  module Cap
    module Ubuntu
      class UbuntuHost < Vagrant.plugin('2', 'host')
        def detect?(_env)
          return false unless Pathname('/usr/bin/lsb_release').exist?
          system("/usr/bin/lsb_release -i | grep 'Ubuntu' >/dev/null 2>&1")
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
landrush-1.2.0 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.2 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.1 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.0 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.0.beta.4 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.0.beta.3 lib/landrush/cap/host/ubuntu/host.rb
landrush-1.1.0.beta.2 lib/landrush/cap/host/ubuntu/host.rb