Sha256: 910dd06410540aa7a97c6891e1f4ddbd9ae5a530bfc16f68128fec9f3e3d86cc

Contents?: true

Size: 364 Bytes

Versions: 2

Compression:

Stored size: 364 Bytes

Contents

require 'chef/knife'

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

2 entries across 2 versions & 1 rubygems

Version Path
berkshelf-0.1.2 lib/chef/knife/berks_update.rb
berkshelf-0.1.1 lib/chef/knife/berks_update.rb