How to Change the chef environment of client
<p>I have a server(infosec11) using a chef environment opsstack1.0 with old cookbooks , planned to update to new version of cookbooks.</p>

<pre><code>Old environment name: opsstack1.0
New environment name: opsstack2.0
</code></pre>

<p>I have created new environment, but need to know how to change the chef environment of server(infosec11) ?</p>