lib/gogetit/cli.rb in gogetit-0.5.1 vs lib/gogetit/cli.rb in gogetit-0.5.2
- old
+ new
@@ -40,11 +40,11 @@
end
# post-tasks
if options[:chef]
knife_bootstrap(name, options[:provider], Gogetit.config, Gogetit.logger)
- update_vault(Gogetit.config, Gogetit.logger)
+ update_databags(Gogetit.config, Gogetit.logger)
end
Gogetit.config[:default][:user] ||= ENV['USER']
puts "ssh #{Gogetit.config[:default][:user]}@#{name}"
end
@@ -64,10 +64,10 @@
end
end
# post-tasks
if options[:chef]
knife_remove(name, Gogetit.logger) if options[:chef]
- update_vault(Gogetit.config, Gogetit.logger)
+ update_databags(Gogetit.config, Gogetit.logger)
end
end
# This feature is broken and might be deprecated in the future.
# desc 'rebuild NAME', 'Destroy and create either a container or KVM domain again.'