X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/810efa014aa370e5f828d7fb9f33cb9e22de56e2..134c83afbfbb9a41ad96999b9ad62dc927a3ad37:/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?