]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/nodejs/resources/package.rb
Fix new foodcritic warnings
[chef.git] / cookbooks / nodejs / resources / package.rb
index 243411216d748ee682e7a16f4a97a858cb0ae245..db9424024730638ed13dc6b4a0ffcf0083eec2c1 100644 (file)
 # limitations under the License.
 #
 
+default_action :iinstall
+
 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