Hi,

It seems that the ini_file module converts all options of the original
file to lower case. I am not sure if this expected or not but it broke
my displaymanager when configuring /etc/kde/kdm/kdmrc in Fedora 20.

It bluntly changes the behavior of the module to always leave the case
as is. I am not a python coder, so if this change is unacceptable I hope
somebody steps forward to implement it 'The Right Way' and please
consider this a bugreport.

-- 
Leo Baltus, internetbeheerder
NPO ICT Internet Services
Bart de Graaffweg 2, 1217 ZL Hilversum
[email protected], 035-6773555

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
diff -ruN ansible-1.3.4.org/library/files/ini_file 
ansible-1.3.4/library/files/ini_file
--- ansible-1.3.4.org/library/files/ini_file    2013-10-29 22:23:52.000000000 
+0100
+++ ansible-1.3.4/library/files/ini_file        2013-12-19 15:31:41.000000000 
+0100
@@ -93,6 +93,7 @@
 
     changed = False
     cp = ConfigParser.ConfigParser()
+    cp.optionxform = str
 
     try:
         f = open(filename)

Reply via email to