Sha256: a7dbf1308bb4f3053e94b7a44f445c9eba444c9b04d995f42b2af9846dd248a3

Contents?: true

Size: 399 Bytes

Versions: 4

Compression:

Stored size: 399 Bytes

Contents

require 'chef/knife'
require 'chef/knife/berks_install'

module Berkshelf
  class BerksUpdate < BerksInstall
    deps do
      require 'berkshelf'
    end

    banner "knife berks update"

    alias :install_run :run

    def run
      ::Berkshelf.ui = ui

      Lockfile.remove!
      install_run
    rescue BerkshelfError => e
      Berkshelf.ui.fatal e
      exit e.status_code
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
berkshelf-0.2.0 lib/chef/knife/berks_update.rb
berkshelf-0.1.5 lib/chef/knife/berks_update.rb
berkshelf-0.1.4 lib/chef/knife/berks_update.rb
berkshelf-0.1.3 lib/chef/knife/berks_update.rb