chef-web-docs
chef-web-docs copied to clipboard
Maybe a problem with the note section for array call of package resource
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_nameorversionproperties.
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