From: S.Çağlar Onur Date: Tue, 3 May 2011 20:43:33 +0000 (-0400) Subject: use lower case names to workaround stupid puppet bug (http://projects.puppetlabs... X-Git-Url: http://git.onelab.eu/?p=myplc.git;a=commitdiff_plain;h=57cab390a99f376f7d813865eba6183dcd2babff use lower case names to workaround stupid puppet bug (projects.puppetlabs.com/issues/3939) --- diff --git a/plc_config.py b/plc_config.py index 07097f3..2d6afef 100644 --- a/plc_config.py +++ b/plc_config.py @@ -738,7 +738,7 @@ DO NOT EDIT. This file was automatically generated at buf.writelines(["# " + line + os.linesep for line in comments]) # bash does not have the concept of NULL if value is not None: - buf.write("$" + id + "=" + value + os.linesep) + buf.write("$" + id.lower() + "=" + value + os.linesep) return buf.getvalue()