lib/ridley/resources/node_resource.rb in ridley-1.0.0.rc3 vs lib/ridley/resources/node_resource.rb in ridley-1.0.0
- old
+ new
@@ -131,12 +131,13 @@
#
# @param [String] host
# @param [String] command
#
# @return [Array<Symbol, HostConnector::Response>]
- def execute_command(host, command)
+ def run(host, command)
host_commander.run(host, command, ssh: ssh, winrm: winrm)
end
+ alias_method :execute_command, :run
# Merges the given data with the the data of the target node on the remote
#
# @param [Ridley::NodeResource, String] target
# node or identifier of the node to merge