Unable to install Winrm on macox vagrant env

87 views
Skip to first unread message

Fontem Ryan Asonganyi

unread,
Feb 1, 2018, 11:31:50 AM2/1/18
to Vagrant
Hey good morning community ,

  • i have a chef-dk environment (vagrant , VM , packer, Git) build up and i want to create a Windows test Kitchen that requires Winrm 

MERAL215978:learn_chef_iis-master ryan.asonganyi$  gem query --local | grep winrm

vagrant-winrm (0.7.0)

winrm (2.2.3)

winrm-elevated (1.1.0)

winrm-fs (1.1.1)

MERAL215978:learn_chef_iis-master ryan.asonganyi$ vagrant plugin list

vagrant-share (1.1.9, system)

MERAL215978:learn_chef_iis-master ryan.asonganyi$ 

(Note: The screen shot above shows my environment)

  1. Given that i utilized $ gem install vagrant-winrm to install the plugin, it doesnt list it under the plugins available in vagrant
  2. I also tried to download it from $vagrant plugin install winrm but no avail it gives me the following error 

Unable to resolve dependency: user requested 'vagrant-share (> 0)'

Bundler, the underlying system Vagrant uses to install plugins,

reported an error. The error is shown below. These errors are usually

caused by misconfigured plugin installations or transient network

issues. The error from Bundler is:


Unable to resolve dependency: user requested 'vagrant-share (> 0)'

 INFO interface: Machine: error-exit ["Vagrant::Errors::BundlerError", "Bundler, the underlying system Vagrant uses to install plugins,\nreported an error. The error is shown below. These errors are usually\ncaused by misconfigured plugin installations or transient network\nissues. The error from Bundler is:\n\nUnable to resolve dependency: user requested 'vagrant-share (> 0)'"]





it would let me install the vagrant share independently with $ vagrant plugin install vagrant-share , it will also let me run the command $vagrant plugin expunge --reinstall but it will say its done and propagate the same error when i run the winrm install or $vagrant plugin update.                                                                               




INFO interface: success: Installed the plugin 'vagrant-share (1.1.9)'!

Installed the plugin 'vagrant-share (1.1.9)'!

 INFO warden: Calling OUT action: #<VagrantPlugins::CommandPlugin::Action::InstallGem:0x00000001010e9b68>

 INFO environment: Running hook: environment_unload

 INFO runner: Preparing hooks for middleware sequence...

 INFO runner: 1 hooks defined.

 INFO runner: Running action: environment_unload #<Vagrant::Action::Builder:0x000000013e04f698>

MERAL215978:learn_chef_iis-master ryan.asonganyi$ vagrant plugin expunge --reinstall 


This command permanently deletes all currently installed user plugins. It

should only be used when a repair command is unable to properly fix the

system.


Continue? [N]: y


All user installed plugins have been removed from this Vagrant environment!


Vagrant will now attempt to reinstall user plugins that were removed.

MERAL215978:learn_chef_iis-master ryan.asonganyi$ sudo vagrant plugin install vagrant-winrm --plugin-clean-sources --plugin-source https://artifactory.global.dish.com/artifactory/api/gems/virtual-gems/

Installing the 'vagrant-winrm' plugin. This can take a few minutes...

Bundler, the underlying system Vagrant uses to install plugins,

reported an error. The error is shown below. These errors are usually

caused by misconfigured plugin installations or transient network

issues. The error from Bundler is:


Unable to resolve dependency: user requested 'vagrant-share (> 0)'



Note: I work at Dish where we cant directly download from the internet due to security reasons so i set up a back-door proxy to get the downloads i need, hence the reason why i used --plugin-source Option

PLEASE HELP IF YOU CAN ! I need this urgently


Thanks in advane


Screen Shot 2018-02-01 at 9.11.52 AM.png

Alvaro Miranda Aguilera

unread,
Feb 1, 2018, 2:50:00 PM2/1/18
to vagra...@googlegroups.com
hello

not sure if you need winrm plugin I think vagrant includes it

but this is worriesome:
`I work at Dish where we cant directly download from the internet due to security reasons so i set up a back-door proxy to get the downloads i need`

don't do that, talk to your IT team.



--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/0af74af6-6047-445f-b086-39c660820d3e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Fontem Ryan Asonganyi

unread,
Feb 1, 2018, 11:11:49 PM2/1/18
to Vagrant
thanks for the responds but i dont think it comes with it, i know it comes with standard ssh for linux machines but vagrant-winrn is a plugin that has to be installed


& I am the IT team lol, im looking for a solution for my team every vagrant user in my environment is familiar with centos configurations.


To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.



--
Alvaro

Reply all
Reply to author
Forward
0 new messages