Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Maybe a problem with the note section for array call of package resource #1228

Open
Tensibai opened this issue Jan 30, 2018 · 0 comments
Open

Comments

@Tensibai
Copy link
Contributor

Tensibai commented Jan 30, 2018

On line 498 of the package resource there's this note line:

.. note:: Notifications and subscriptions do not need to be updated when packages and versions are added or removed from the package_name or version properties.

I think it's half true, and could maybe be reworded as:

`.. note:: Notifications and subscriptions do not need to be updated when pacakges versions are updated in the version properties but must be updated if the list of packages changes.

Or keeping the note as is thenthe exemple above should be

package 'my_stack'  do
    package_name %w(package1 package2)
    version [ '1.3.4-2', '4.3.6-1']                  
    action :nothing
 end

log 'call a notification' do
     notifies :install, 'package[my_stack]', :immediately
end
@tas50 tas50 added Aspect: Documentation How do we use this project? and removed Documentation labels May 12, 2021
@IanMadd IanMadd added Documentation and removed Aspect: Documentation How do we use this project? labels Jun 29, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants