class Landrush::Cap::Debian::DebianHost
Public Instance Methods
detect?(_env)
click to toggle source
# File lib/landrush/cap/host/debian/host.rb, line 5 def detect?(_env) return false unless Pathname('/etc/issue').exist? system("cat /etc/issue | grep 'Debian' > /dev/null 2>&1") end