Need help with package_name attribute in LWRP DSL

I’m trying to write a package resource wrapper cookbook, say company_package, that will have default retries and retry_count attributes. Of course, for the cookbook to fully support the package cookbook, I have to define the other attributes.

For the package_name attribute, what would be the ‘default =>’ syntax to tell it to get the :name attribute if it’s not defined?