Sha256: a5ca8b2b8339a521b800be40f23bdb00928ba3555ed10e02181a45ca20a638a5
Contents?: true
Size: 489 Bytes
Versions: 11
Compression:
Stored size: 489 Bytes
Contents
require 'pp' module Mccloud module Util def on_selected_machines(selection=nil) if selection.nil? || selection == "all" #puts "no selection - all machines" @session.config.vms.each do |name,vm| id=@all_servers["#{name}"] vm=@session.config.vms[name] yield id,vm end else name=selection id=@all_servers["#{name}"] vm=@session.config.vms[name] yield id,vm end end end end
Version data entries
11 entries across 11 versions & 1 rubygems