summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-12-28 12:49:46 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2020-12-28 12:49:46 -0800
commit320c1cf4462220d2d6d72c80c00af53ee4b6a2d9 (patch)
tree78065660680b5563021b79614d1ddb4e254cadab
parent923e77b3ec8db613b75653e928f1613d0de3adc3 (diff)
downloadchef-320c1cf4462220d2d6d72c80c00af53ee4b6a2d9.tar.gz
add apologetic commentlcg/dnf-versionfix
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/provider/package.rb b/lib/chef/provider/package.rb
index 2a9758ced7..198286c75f 100644
--- a/lib/chef/provider/package.rb
+++ b/lib/chef/provider/package.rb
@@ -58,6 +58,9 @@ class Chef
# 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.
#
+ # NOTE: magic_version is a terrible name, but I couldn't think of anything better, at least this
+ # way it stands out clearly.
+ #
subclass_directive :use_magic_version
#