Class: Landrush::Cap::Debian::DebianHost
- Inherits:
-
Object
- Object
- Landrush::Cap::Debian::DebianHost
- Defined in:
- lib/landrush/cap/host/debian/host.rb
Instance Method Summary collapse
Instance Method Details
#detect?(_env) ⇒ Boolean
5 6 7 |
# File 'lib/landrush/cap/host/debian/host.rb', line 5 def detect?(_env) system("cat /etc/issue | grep 'Debian' > /dev/null 2>&1") end |