Module: Bard::CLI::Provision
- Defined in:
- lib/bard/cli/provision.rb
Class Method Summary collapse
Class Method Details
.included(mod) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/bard/cli/provision.rb', line 4 def self.included mod mod.class_eval do desc "provision [ssh_url]", "takes an optional ssh url to a raw ubuntu 22.04 install, and readies it in the shape of :production" def provision ssh_url=config[:production].ssh Bard::Provision.call(config, ssh_url.dup) # dup unfreezes the string for later mutation end end end |