title: knife bootstrap ip-10-185-211-254.ec2.internal -x ubuntu -i JP_Key.pem —sudo -r “role[webserver]”
body: <p>I have created a cookbook and signed a role. When I do </p>
  
  <pre><code>knife bootstrap ip-10-185-211-254.ec2.internal -x ubuntu -i JP_Key.pem —sudo -r "role[webserver]"
  </code></pre>
  
  <p>I'm getting the following error:</p>
  
  <pre><code>ERROR: Network Error: getaddrinfo: Temporary failure in name resolution
  Check your knife configuration and network settings
  </code></pre>
  
  <p>Do I need to add the access key and secret key in <code>knife.rb</code>?</p>