title: How can one pass attribute values during the chef-client run command
body: <p>I have the following attributes defined in the attribute file</p>
  <hr />
  <pre><code>node.default['main']['a2'] = &quot;hello world&quot;
  </code></pre>
  <hr />
  <p>In my recipe i have it being called in the following way</p>
  <h1>Recipe:: default<br></h1>
  <h1><br></h1>
  <h1>Copyright (c) 2018 The Authors, All Rights Reserved.<br></h1>
  <p>execute 'just_test' do <br>
  command 'touch /tmp/a2345' <br>
  end <br>
  execute 'just_test1' do <br>
  command &quot;touch #{/tmp/node['main']['a2']}&quot; <br>
  end <br>
  execute 'just_test2' do <br>
  command &quot;echo #{node['main']['a2']}&quot; <br>
  end <br></p>
  <p>I would like to pass the value of the attribute during run time, By default it will be &quot;hello world: and it will create a directory with the name hello world,</p>
  <p>How can i change the attribute values during the chef-client run on a node instance??? to a different value from &quot;hello world&quot; to &quot;chef deploy&quot;</p>
  <p>Thank you</p>