title: Evaluation Error: Error while evaluating a Function Call, Could not find class ::apt-get::update for ubuntu-bionic.example.com
body: <p>I'm getting the following error when running puppet on Vagrant/VirtualBox with the "ubuntu/bionic64" image:</p>
  
  <pre><code>Error: Evaluation Error: Error while evaluating a Function Call, Could not find class ::apt-get::update for ubuntu-bionic.example.com (file: /tmp/vagrant-puppet/manifests-846018e2aa141a5eb79a64b4015et6f3/default.pp, line: 2, column: 5) on node ubuntu-bionic.example.com
  The SSH command responded with a non-zero exit status. Vagrant
  assumes that this means the command failed. The output for this command
  should be in the log above. Please read the output to determine what
  went wrong.
  </code></pre>
  
  <p>Environment:</p>
  
  <ul>
  <li>Vagrant 2.1.1</li>
  <li>VirtualBox 5.2.16</li>
  <li>Ubuntu Bionic 64</li>
  <li>Puppet 5.4.0</li>
  </ul>
  
  <p>Vagrantfile:</p>
  
  <pre><code>...
  config.vm.box = "ubuntu/bionic64"
  ...
  config.vm.provision "shell", inline: "apt-get update &amp;&amp; apt-get install -y puppet"
  config.vm.provision "puppet" do |puppet|
    puppet.module_path = "puppet/modules"
    puppet.manifests_path = "puppet/manifests"
    puppet.manifest_file  = "default.pp"
    puppet.options="--verbose --debug"
  end
  ...
  </code></pre>
  
  <p>This same exact puppet configuration was working with the <code>ubuntu/xenial64</code> box. The only thing that I changed was the <code>config.vm.box</code> line in my Vagrantfile (from <code>config.vm.box = "ubuntu/xenial64"</code> to <code>config.vm.box = "ubuntu/bionic64"</code>. I've also confirmed that my module exists and I can see it on the vm in the <code>/tmp</code> directory.</p>