Uploaded image for project: 'openATTIC'
  1. openATTIC
  2. OP-1466

Vagrant: the "vagrant-cachier" plugin is not optional as documented

    XMLWordPrintable

    Details

      Description

      The documentation states the following: "After installing Vagrant, install the optional vagrant-cachier plugin for caching packages that are downloaded while setting up the development environment. However, skipping this step results in the following error, when running vagrant up:

      There are errors in the configuration of this machine. Please fix
      the following errors and try again:
      
      Vagrant:
      * Unknown configuration section 'cache'.
      

      The installation instructions should either be amended to require the installation of vagrant-cachier, or the Vagrantfile should check for the existence of this plugin before trying to configure it.

      Also, by default, caching for apt does not seem to be enabled in Vagrantfile, which is helpful when using the Debian box:

          # config.cache.enable :pip
          config.cache.enable :zypper
          config.cache.enable :npm
          config.cache.enable :bower
      

      According to the vagrant-cachier documentation one should simply let it autodetect the cache buckets that are needed:

      This is the easiest way to get started with plugin and is enabled by default. Under the hood, vagrant-cachier does its best to find out what is supported on the guest machine and will set buckets accordingly.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vtheile Theile, Volker
              Reporter:
              lgrimmer Grimmer, Lenz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: