lib/chef/knife/topo_create.rb in knife-topo-0.0.10 vs lib/chef/knife/topo_create.rb in knife-topo-0.0.11

- old
+ new

@@ -82,12 +82,12 @@ # Add topology item to the data bag on the server begin topo.create rescue Net::HTTPServerException => e raise unless e.to_s =~ /^409/ - msg = "Topology already exists - do you want to update it" - msg = msg + " to version " + topo['version'] if topo['version'] + msg = "Topology #{display_name(topo)} already exists - do you want to update it" + msg = msg + " to version " + format_topo_version(topo) if topo['version'] ui.confirm(msg, true, false) topo.save end # make sure env and cookbooks are in place @@ -112,12 +112,9 @@ ui.info("Topology #{display_name(topo_hash)} created") ui.info("Build information: " + topo_hash['buildstamp']) if topo_hash['buildstamp'] end - - - include Chef::Knife::TopologyHelper end end