[BUG] x509.private_key_managed
states do not honor all file.managed
arguments
#58263
Labels
Bug
broken, incorrect, or confusing behavior
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
Description
In the documentation, it's said for
x509.private_key_managed
salt states:But it's wrong it only honors part of it
Not sure every kwargs of
file.managed
are needed here but to me at leastreplace
could be helpful if we do not want to replace the key when it already exists(Right now as a workaround I use an
unless: test -f "my_key_path"
on myx509.private_key_managed
state)The text was updated successfully, but these errors were encountered: