X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/7b9ec4b60ee39614d1d083d7220e76b07d2b275f..3944d4a4eb4d96ca5e747739f4967f590672d4e4:/cookbooks/nodejs/resources/package.rb?ds=sidebyside diff --git a/cookbooks/nodejs/resources/package.rb b/cookbooks/nodejs/resources/package.rb index 243411216..f62aecc84 100644 --- a/cookbooks/nodejs/resources/package.rb +++ b/cookbooks/nodejs/resources/package.rb @@ -17,12 +17,9 @@ # limitations under the License. # +default_action :install + actions :install, :upgrade, :remove attribute :package_name, :kind_of => String, :name_attribute => true attribute :version, :kind_of => String - -def initialize(*args) - super - @action = :install -end