Module: EtcdTools::Watchdog::Helpers
- Included in:
- Init
- Defined in:
- lib/etcd-tools/watchdog/helpers.rb
Instance Method Summary collapse
Instance Method Details
#arp ⇒ Object
18 19 20 |
# File 'lib/etcd-tools/watchdog/helpers.rb', line 18 def arp @config[:commands][:arp] end |
#arping ⇒ Object
10 11 12 |
# File 'lib/etcd-tools/watchdog/helpers.rb', line 10 def arping @config[:commands][:arping] end |
#hostname ⇒ Object
6 7 8 |
# File 'lib/etcd-tools/watchdog/helpers.rb', line 6 def hostname @hostname ||= Socket.gethostname end |
#iproute ⇒ Object
14 15 16 |
# File 'lib/etcd-tools/watchdog/helpers.rb', line 14 def iproute @config[:commands][:iproute] end |