Sha256: e06c8a6ec9be4023596eac37e3aad95ac556627efdc9e800358b6631065de694

Contents?: true

Size: 294 Bytes

Versions: 2

Compression:

Stored size: 294 Bytes

Contents

module Landrush
  module Cap
    module Debian
      class DebianHost < Vagrant.plugin('2', 'host')
        def detect?(_env)
          return false unless Pathname('/etc/issue').exist?
          system("cat /etc/issue | grep 'Debian' > /dev/null 2>&1")
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
landrush-1.2.0 lib/landrush/cap/host/debian/host.rb
landrush-1.1.2 lib/landrush/cap/host/debian/host.rb