class Specinfra::Command::Openbsd::Base::Bond
Public Class Methods
check_exists(name)
click to toggle source
# File lib/specinfra/command/openbsd/base/bond.rb, line 3 def check_exists(name) "ifconfig #{name}" end
check_has_interface(name, interface)
click to toggle source
# File lib/specinfra/command/openbsd/base/bond.rb, line 7 def check_has_interface(name, interface) "ifconfig #{name} | grep -o #{interface}" end