Basically I deleted these files while doing some clean up in my puppet directory.
Now when I run @app: puppet apply /some/file I got an error stating these file where missing. (of course)
So I created two new files and I got this:
err: Could not run command from prerun_command: Execution of ‘/etc/puppet/etckeeper-commit-pre’ returned 1:
err: Could not run command from postrun_command: Execution of ‘/etc/puppet/etckeeper-commit-post’ returned 1
Any hints would be great thanks
Thanks
Anthony
If you have the Puppet “filebucket” enabled, you could look through the logs to find the hash of the removed file, then recover from that.
Otherwise go to your backups, or reinstall the package they come from.