Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with vagrant file #2

Closed
arbabnazar opened this issue Oct 13, 2015 · 4 comments
Closed

Problem with vagrant file #2

arbabnazar opened this issue Oct 13, 2015 · 4 comments

Comments

@arbabnazar
Copy link

I am getting this error when try to run the vagrant up command, can you please make your vagrantfile simpler. Thanks

#vagrant up
Bringing machine 'jenkins' up with 'virtualbox' provider...
Bringing machine 'zabbix' up with 'virtualbox' provider...
==> jenkins: Box 'box-cutter/centos67' could not be found. Attempting to find and install...
    jenkins: Box Provider: virtualbox
    jenkins: Box Version: >= 0
==> jenkins: Loading metadata for box 'box-cutter/centos67'
    jenkins: URL: https://atlas.hashicorp.com/box-cutter/centos67
==> jenkins: Adding box 'box-cutter/centos67' (v2.0.5) for provider: virtualbox
    jenkins: Downloading: https://atlas.hashicorp.com/box-cutter/boxes/centos67/versions/2.0.5/providers/virtualbox.box
    :name => :zabbix,
==> jenkins: Successfully added box 'box-cutter/centos67' (v2.0.5) for 'virtualbox'!
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The 'hostmanager' provisioner could not be found.

Vagrant:
* Unknown configuration section 'hostmanager'.
@Azulinho
Copy link
Owner

you're missing the vagrant-hostmanager plugin.
Have you tried to run 'rake' as stated in the README file ?

The rakefile deploys all the dependencies for this project

@arbabnazar
Copy link
Author

Even after installing the 'hostmanager' plugin I am getting this error.

arbab@Malang:~/ansible-jenkins-showcase vagrant plugin install hostmanager                                  1 ↵
Installing the 'hostmanager' plugin. This can take a few minutes...
Installed the plugin 'hostmanager (1.2.2)'!
arbab@Malang:~/ansible-jenkins-showcase » vagrant up
Bringing machine 'jenkins' up with 'virtualbox' provider...
Bringing machine 'zabbix' up with 'virtualbox' provider...
There are errors in the configuration of this machine. Please fix
the following errors and try again:

vm:
* The 'hostmanager' provisioner could not be found.

Vagrant:
* Unknown configuration section 'hostmanager'.

@Azulinho
Copy link
Owner

can you compare your environment with mine?
I posted a full run of this project in this gist:
https://gist.github.com/Azulinho/2bb8afc1ba3a1a512357

@Azulinho
Copy link
Owner

didn't hear back, closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants