Excerpts from Dan Callaghan's message of 2014-10-31 11:41 +10:00:
Probably the best solution is to just add a dummy statement after the
"then" statement to make it syntactically valid even if the snippet is
empty. I guess this should work:
if [ -f /etc/sysconfig/readahead ] ; then
:
{% snippet 'readahead_sysconfig' %}
fi
Filed with patch:
https://bugzilla.redhat.com/show_bug.cgi?id=1160091
--
Dan Callaghan <dcallagh(a)redhat.com>
Software Engineer, Hosted & Shared Services
Red Hat, Inc.