lib/marionette/master.rb in marionette-0.0.12 vs lib/marionette/master.rb in marionette-0.0.13
- old
+ new
@@ -18,9 +18,20 @@
# Sends a msg to puppet node
# and stands by for a reply
# and processes reply
def talk(msg, send_guarantee = false, poll_guarantee = false)
+ # @replies = []
+ #
+ # # Fetch queued message first
+ # begin
+ #
+ # @socket = socket_connect
+ # @replies << process_message(@socket.recv_string)
+ #
+ # rescue
+ # end
+
# Initiate send
begin
# if send successful start polling
@socket = socket_connect