diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-12-17 00:07:07 +0000 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2021-01-04 17:17:57 -0800 |
commit | 0cb2ed0cd7b9f2d146a8afa25216db6c2aca0f95 (patch) | |
tree | a6c4f956edf0483dd2956a6487383570e2a437a7 | |
parent | ff07bd98eea9ac9b8f800e4d1b4b9d88932acc3b (diff) | |
download | chef-0cb2ed0cd7b9f2d146a8afa25216db6c2aca0f95.tar.gz |
add a couple more comments
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/package.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/provider/package.rb b/lib/chef/provider/package.rb index 514975b24d..2a9758ced7 100644 --- a/lib/chef/provider/package.rb +++ b/lib/chef/provider/package.rb @@ -53,6 +53,11 @@ class Chef # [ this may arguably be useful for all package providers and it greatly simplifies the logic # in the superclass that gets executed, so maybe this should always be used now? ] # + # note that when using this feature that the current_resource.version must be loaded with the + # correct currently installed version, without doing the filtering -- for reporting and for + # correctly displaying version upgrades. that means there are 3 different arrays which must be + # loaded by the subclass: candidate_version, magic_version and current_resource.version. + # subclass_directive :use_magic_version # |