title: How can a node read a role file?
body: <p>Say we have a node named <strong><em>mycomputer</em></strong>. And it has a role in it's run_list say <code>myrole</code>.</p>
  
  <p>Now, the <strong><em>mycomputer</em></strong> wants to access and read the role file which is present in it's run_list. </p>
  
  <p>Is there a way to do this ?</p>
  
  <hr>
  
  <p>I tried </p>
  
  <pre><code>knife role show myrole
  </code></pre>
  
  <p>As it doesn't have knife.rb and user-key.pem file (.chef directory) so it cannot access it. </p>
  
  <hr>
  
  <p>Please let me know if there is a way to access the role file viz. <code>myrole</code>. </p>