benhoskings/babushka — pull request #186 by Osseta (2012-02-28 11:25:55+00:00)
Title: Babushka::Renderable -> Use sudo to read config files if file not readable by current user

Some applications set their config files to be readable only by root (e.g. Monit). This commit checks the file permission before attempting to read the SHA1 written by Inkan. If not readable by current user it uses sudo to read the file contents