sni/Thruk — pull request #170 by awiddersheim (2013-06-05 16:13:21+00:00)
Title: Fix RPM builds

When doing an RPM build you typically run Makefile.PL in the %build section. This is before whatever you have configured for your var_path has been created if on a fresh machine. When loading the thruk configuration it's final steps are to check if that directory exists, gather user information from it and switch users. This is not necessary during our build process.

You can replicate this issue by setting up a machine without the var_path directory created. Then run script/thruk_create_combined_static_content.pl (now part of Makefile.PL) which should fail to complete until var_path is created.