class ServerTools::CLI
Public Class Methods
exit_on_failure?()
click to toggle source
# File lib/server_tools/cli.rb, line 11 def self.exit_on_failure? true end
Public Instance Methods
bootstrap(hostname)
click to toggle source
# File lib/server_tools/cli.rb, line 31 def bootstrap(hostname) shell_out(ServerTools::Bootstrap.new(hostname, options).command) end
install_deb_package(hostname)
click to toggle source
# File lib/server_tools/cli.rb, line 61 def install_deb_package(hostname) install_deb_package = ServerTools::InstallDebPackage.new(hostname, options) shell_out(install_deb_package.copy_command) shell_out(install_deb_package.install_command) end
provision(hostname)
click to toggle source
# File lib/server_tools/cli.rb, line 40 def provision(hostname) shell_out(ServerTools::Provision.new(hostname, options).command) end