title: How can I change a file with Chef?
body: <p>I have 7 files and 1 war.  I need to change values when I deploy them. I have this:</p>
  
  <pre><code>##usuario
  #alfresco.user=*****
  alfresco.user=********
  ##pass 
  #alfresco.password= sfsfs
  alfresco.password=sfgsf
  
  alfresco.rutaAnexos=/gthtfdh/dfgdf/cm:
  
  #atributo.type.anexo=ANEXO_INFO_OBJETO
  atributo.type.anexo=AN
  atributo.type.observaciones=OBSERVACIONES
  </code></pre>
  
  <p>I need to comment some lines and uncomment some other lines. Then I need to make seven templates and put variables depending on the environments and create a file in the recipe.</p>
  
  <p>How can I do this?</p>