classes:
"sometimes" expression => "any",
classes => always("always_defined");
doesn’t work as you can’t use classes => on a class promise.
What is the right way to do something like this?
If this looks contrived here is a more real world example
“has_file” expression => isplain(“/path/to/some/file”),
classes => always(“checked_has_file”);
thoughts? thanks
Good idea. This brings up an important point. Not_have_file:: is not the
same as !have_plain_file::. The former is it explicit that said file
does not exist while the latter means that the file may not exist or
that the check may not have run. Using ! has cost me debugging time
before.