title: How to put cookbook_file resource in for loop?
body: <p>I am able to add a single file from the Chef cookbook:</p>
  
  <pre class="lang-rb prettyprint-override"><code>cookbook_file '/tmp/File1' do
    source 'default/File1'
    owner   'jenkins'
    group  'jenkins'
    mode   '0755'
  end
  </code></pre>
  
  <p>How can I add <code>File1</code>, <code>File2</code>, <code>File3</code> using a <code>for</code> loop?
  I went through chef docs, it is helpless and confusing.</p>