Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
use config.vagrant.plugins to install plugin
Browse files Browse the repository at this point in the history
> Can't you use vagrant settings to check if plugins are installed ?

Thanks @Darkbelg didn't know of that feature. That didn't exist when I
originally added the automatic install in the Vagrantfile.
  • Loading branch information
vdloo committed Sep 21, 2018
1 parent e448d1b commit 3a9a765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can start developing on your own local Hypernode within 15 minutes.
vagrant plugin install vagrant-hypconfigmgmt
```

If you wish to run an earlier revision of `hypernode-vagrant` you can install an earlier matching `vagrant-hypconfigmgmt` by for example running `vagrant plugin install vagrant-hypconfigmgmt --plugin-version 0.0.10`. Automatically installing the correct bundled plugin no longer works since [Augustus 31 2018](https://stackoverflow.com/a/28801317).
If you wish to run an earlier revision of `hypernode-vagrant` you can install an earlier matching `vagrant-hypconfigmgmt` by for example running `vagrant plugin install vagrant-hypconfigmgmt --plugin-version 0.0.10`.

### Configuring your hypernode vagrant

Expand Down
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ settings = YAML.load_file(SETTINGS_FILE) rescue Hash.new(Hash.new(nil))
require_relative 'vagrant/plugins/inline/ensure-varnish.rb'
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# run hypernode-vagrant configuration wizard if needed during 'vagrant up'
config.vagrant.plugins = {"vagrant-hypconfigmgmt" => {"version" => VAGRANT_HYPCONFIGMGMT_VERSION}}
config.hypconfigmgmt.enabled = true

config.ssh.forward_agent = true
Expand Down

0 comments on commit 3a9a765

Please sign in to comment.