I want to deploy the tool etckeeper via SaltStack.
Installating the RPM/DPKG is easy.
Next step is to call etckeeper init
after the installation.
My current idea is this pseudo-code:
execute
etckeeper init
if/etc/.git
does not exist
I read the docs for file.exists, but this does not help me.
How to solve this with SaltStack?