lib/vagrant/compose/config.rb
# Implements a utility method that allows to check the list of nodes generated by compose.
Implements a utility method that allows to check the list of nodes generated by compose.
Implements a utility method that allows to check the list of nodes generated by compose .
def debug(verbose = false)
        puts "==> cluster #{@cluster.name} with #{nodes.size} nodes"
        if not verbose
          @nodes.each do |node|
           puts "        #{node.boxname} accessible as #{node.fqdn} #{node.aliases} #{node.ip} => [#{node.box}, #{node.cpus} cpus, #{node.memory} memory]"
          end
        else
          puts "- nodes"
          @nodes.each do |node|
            puts ""
            puts "   - #{node.boxname}"
            puts "     box            #{node.box}"
            puts "     boxname        #{node.boxname}"
            puts "     hostname       #{node.hostname}"
            puts "     fqdn           #{node.fqdn}"
            puts "     aliases        #{node.aliases}"
            puts "     ip             #{node.ip}"
            puts "     cpus           #{node.cpus}"
            puts "     memory         #{node.memory}"
            puts "     ansible_groups #{node.ansible_groups}"
            puts "     attributes     #{node.attributes}"
            puts "     index          #{node.index}"
            puts "     group_index    #{node.group_index}"
          end
          filter = " (NB. filtered by #{@multimachine_filter})" if not @multimachine_filter.empty?
          puts ""
          puts "- ansible_groups #{filter}"
          @ansible_groups.each do |group, hosts|
            puts ""
            puts "  - #{group}"
            hosts.each do |host|
              puts "    - #{host}"
            end
          end
        end
        puts ""
   	  end
def debug ( verbose = false ) puts "==> cluster #{@cluster.name} with #{nodes.size} nodes" if not verbose @nodes . each do | node | puts "        #{node.boxname} accessible as #{node.fqdn} #{node.aliases} #{node.ip} => [#{node.box}, #{node.cpus} cpus, #{node.memory} memory]" end else puts "- nodes" @nodes . each do | node | puts "" puts "   - #{node.boxname}" puts "     box            #{node.box}" puts "     boxname        #{node.boxname}" puts "     hostname       #{node.hostname}" puts "     fqdn           #{node.fqdn}" puts "     aliases        #{node.aliases}" puts "     ip             #{node.ip}" puts "     cpus           #{node.cpus}" puts "     memory         #{node.memory}" puts "     ansible_groups #{node.ansible_groups}" puts "     attributes     #{node.attributes}" puts "     index          #{node.index}" puts "     group_index    #{node.group_index}" end filter = " (NB. filtered by #{@multimachine_filter})" if not @multimachine_filter . empty? puts "" puts "- ansible_groups #{filter}" @ansible_groups . each do | group , hosts | puts "" puts "  - #{group}" hosts . each do | host | puts "    - #{host}" end end end puts "" end
Implements a utility method that allows to check the list of nodes generated by compose.
Implements a utility method that allows to check the list of nodes generated by compose .
verbose
<not_specific>