title: salt attribute(key/value) replacement based on particular stanza
body: <p>Using salt i want to find the attribute(key) and replace it with value based on specific stanza. The attribute(key) is present in multiple times in a file under different stanzas. I want to find my attribute under specific stanza and replace with value. </p>
  
  <h2>Example:</h2>
  
  <pre><code>output.kafka:
    # Boolean flag to enable or disable the output module.
    enabled:
  </code></pre>
  
  <p>I need to find enabled: under output.kafka: and replace it with value. The enabled: attribute present multiple times in my file.</p>
  
  <p>Thanks
  Bala.</p>