Method: Crowbar::Client::App::Repository#activate

Defined in:
lib/crowbar/client/app/repository.rb

#activate(platform, arch, repo) ⇒ Object



88
89
90
91
92
93
94
95
96
97
98
# File 'lib/crowbar/client/app/repository.rb', line 88

def activate(platform, arch, repo)
  Command::Repository::Activate.new(
    *command_params(
      platform: platform,
      arch: arch,
      repo: repo
    )
  ).execute
rescue => e
  catch_errors(e)
end