title: What is the idiomatic way to install a Debian package using Chef?
body: <p>Below my code for installing vcider.  I am learning chef but have not seen anything for installing a dpkg.  I would like to use version in the script.    The code below works.     </p>
  
  <pre><code>script "install_vcider" do
    interpreter "bash"
    user "root"
    cwd "/tmp"
    code &lt;&lt;-EOH
    wget https://my.vcider.com/m/downloads/vcider_2.0.1b_amd64.deb
    dpkg -i vcider__amd64.deb
    EOH
  end
  </code></pre>
  
  <p>Even with the code above can I replace 2.0.1b with #{version}?
      attribute file -> default[:vcider][:version] 2.0.1b</p>
  
  <pre><code>recipe file - &gt; version = node[:vcider][:version]
  </code></pre>