X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/810efa014aa370e5f828d7fb9f33cb9e22de56e2..3944d4a4eb4d96ca5e747739f4967f590672d4e4:/cookbooks/python/resources/package.rb diff --git a/cookbooks/python/resources/package.rb b/cookbooks/python/resources/package.rb index 3a766957e..76a6af7ec 100644 --- a/cookbooks/python/resources/package.rb +++ b/cookbooks/python/resources/package.rb @@ -19,8 +19,8 @@ default_action :install -attribute :package_name, :kind_of => String, :name_attribute => true -attribute :version, :kind_of => String +property :package_name, :kind_of => String, :name_property => true +property :version, :kind_of => String action :install do if version.nil?