Project

General

Profile

Bug #13813

Updated by Dominic Cleal about 8 years ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1306395  
  Description of problem: 
  While adding parameter to any host if the parameter value contain the multiple space , it's generating the faulty yaml and hence the corresponding faulty change are reflected to the puppet agent. 

 Version-Release number of selected component (if applicable): 
 6.1 

 How reproducible: 
 Every time  


 Steps to Reproduce: 
 While adding parameter ( Host --> parameter --> add parameter ) to any host if the parameter value contain the multiple lines with spaces ( "\" shows up every 2nd entry in between parts of the line)    , it's generating the faulty yaml    add and hence the corresponding faulty change are reflected to the client config file. 

 <pre> 
 


 extend      =      auth                            include                password-auth 
              account       include                    password-auth 
 </pre> 


 



 Corresponding yaml generated 

 <pre> 
 extend: ! "auth                 include                password-auth\r\naccount 
     \          include                 password-auth"                                
 </pre> 

                                


 extra '\' added. 


 Actual results: 


 Expected results: 


 Additional info:

Back