X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/90a349e0bc558441e65156eabb585c578d93fbfd..18424e9038b5f06d815167da8f0c10bed5d5d211:/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?