Class: Kitsune::Kit::Commands::PostinstallDocker
- Inherits:
-
Thor
- Object
- Thor
- Kitsune::Kit::Commands::PostinstallDocker
- Defined in:
- lib/kitsune/kit/commands/postinstall_docker.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/kitsune/kit/commands/postinstall_docker.rb', line 17 def create = Kitsune::Kit::OptionsBuilder.build( , required: [:server_ip], defaults: Kitsune::Kit::Defaults.ssh ) with_ssh_connection() do |ssh| perform_setup(ssh) end end |
#rollback ⇒ Object
30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/kitsune/kit/commands/postinstall_docker.rb', line 30 def rollback = Kitsune::Kit::OptionsBuilder.build( , required: [:server_ip], defaults: Kitsune::Kit::Defaults.ssh ) with_ssh_connection() do |ssh| perform_rollback(ssh) end end |