title: Saltstack apply state on minions through salt reactors and runners
body: <p>I have multiple salt deployment environments.
  I have a requirement in which I raise an event from the minions, the master upon receiving the event, generates few files which I then want to copy to the minions.
  How do I do this?
  I was trying to get it to work using orchestrate. This is what I have right now:</p>
  
  <p>reactor sls-></p>
  
  <pre><code>copy_cert:
    runner.state.orchestrate:
      - mods: _orch.copy_certs
      - saltenv: 'central'
  </code></pre>
  
  <p>copy_certs sls-></p>
  
  <pre><code>copy_kube_certs:
    salt.state:
      - tgt: 'kubeminion'
      - tgt_type: nodegroup
      - sls:
        - kubemaster.copy_certs
  </code></pre>
  
  <p>The problem is that I want to happen for all the environments and not just one. How do I do that?
  Or is there a way to loop over the environments using jinja in some way.
  Also is it possible using anything other than orchestrate.</p>