class Landrush::Cap::Ubuntu::UbuntuHost
Public Instance Methods
detect?(_env)
click to toggle source
# File lib/landrush/cap/host/ubuntu/host.rb, line 5 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