Class: Chake::Backend::Local
- Inherits:
-
Chake::Backend
- Object
- Struct
- Chake::Backend
- Chake::Backend::Local
- Defined in:
- lib/chake/backend/local.rb
Instance Attribute Summary
Attributes inherited from Chake::Backend
Instance Method Summary collapse
Methods inherited from Chake::Backend
backend_name, get, inherited, #rsync, #rsync_dest, #run, #run_as_root, #scp, #scp_dest, #to_s
Instance Method Details
#command_runner ⇒ Object
9 10 11 |
# File 'lib/chake/backend/local.rb', line 9 def command_runner ['sh', '-c'] end |
#skip? ⇒ Boolean
13 14 15 |
# File 'lib/chake/backend/local.rb', line 13 def skip? node.hostname != Socket.gethostname end |