chef-acme icon indicating copy to clipboard operation
chef-acme copied to clipboard

enh - please consider a warning in .../recipes/default.rb

Open bish0polis opened this issue 1 year ago • 1 comments

I spent wayyy too long today on a non-issue and, if possible, I'd love to see a warning here for whomever may follow me down this dark path.

--- .../cookbooks/acme/recipes/default.rb~   2020-05-05 20:02:22.262756509 -0700
+++ .../cookbooks/acme/recipes/default.rb    2023-04-16 15:37:53.477465092 -0700
@@ -24,4 +24,6 @@
   compile_time true if respond_to?(:compile_time)
 end

+# this will fail in whyrun if the gem isn't already installed: it
+# needs it here, but doesn't install it previously during whyrun.
 require 'acme-client'

Pity me for not cluing in.

bish0polis avatar Apr 16 '23 22:04 bish0polis