{"action":"opened","issue":{"url":"https://api.github.com/repos/ferventcoder/vagrant-windows-puppet/issues/8","labels_url":"https://api.github.com/repos/ferventcoder/vagrant-windows-puppet/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/ferventcoder/vagrant-windows-puppet/issues/8/comments","events_url":"https://api.github.com/repos/ferventcoder/vagrant-windows-puppet/issues/8/events","html_url":"https://github.com/ferventcoder/vagrant-windows-puppet/issues/8","id":96371570,"number":8,"title":"Puppet With Chocolatey Provider","user":{"login":"rholloway","id":3996981,"avatar_url":"https://avatars.githubusercontent.com/u/3996981?v=3","gravatar_id":"","url":"https://api.github.com/users/rholloway","html_url":"https://github.com/rholloway","followers_url":"https://api.github.com/users/rholloway/followers","following_url":"https://api.github.com/users/rholloway/following{/other_user}","gists_url":"https://api.github.com/users/rholloway/gists{/gist_id}","starred_url":"https://api.github.com/users/rholloway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rholloway/subscriptions","organizations_url":"https://api.github.com/users/rholloway/orgs","repos_url":"https://api.github.com/users/rholloway/repos","events_url":"https://api.github.com/users/rholloway/events{/privacy}","received_events_url":"https://api.github.com/users/rholloway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-21T17:25:36Z","updated_at":"2015-07-21T17:25:36Z","closed_at":null,"body":"Hi there! Came across your windows Vagrant files here and thought I'd give it a shot as I need to get a windows dev environment up for a specific project. I'm pretty new to most of this Windows stuff as I usually stick to *nix, so bear with me if this question is n00b.\r\n\r\nI am getting an error when trying to use puppet with the chocolatey provider. I just checked out your latest code and tried with both Win 7 and Win 2008 with same result. Note if I 'vagrant ssh' and then 'choco install poshgit' everything works fine - it's just when it's part of puppet that it breaks I suppose.\r\n\r\nAll I did was uncomment the install for poshgit via chocolatey in boxes/win2008r2x64-vagrant/puppet/manifests/site.pp.\r\n\r\n  package {'poshgit':\r\n   ensure => latest,\r\n   provider => 'chocolatey',\r\n   source => 'c:\\vagrant\\resources\\packages;http://chocolatey.org/api/v2/',\r\n }\r\n\r\nand re-ran vagrant provision. The result ends with\r\n\r\nError: Parameter provider failed on Package[poshgit]: Invalid package provider 'chocolatey' at C:/tmp/vagrant-puppet-4/manifests/site.pp:5\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:1849:in `block (2 levels) in providify'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/parameter.rb:465:in `validate'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/parameter.rb:500:in `value='\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:654:in `[]='\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:2272:in `block in set_parameters'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:2266:in `each'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:2266:in `set_parameters'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/type.rb:2222:in `initialize'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource.rb:349:in `new'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource.rb:349:in `to_ral'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:524:in `block in to_catalog'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:516:in `each'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:516:in `to_catalog'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/resource/catalog.rb:408:in `to_ral'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application/apply.rb:225:in `block in main'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/context.rb:64:in `override'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet.rb:244:in `override'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application/apply.rb:198:in `main'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application/apply.rb:159:in `run_command'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:381:in `block (2 levels) in run'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:507:in `plugin_hook'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:381:in `block in run'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util.rb:488:in `exit_on_fail'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/application.rb:381:in `run'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:146:in `run'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/lib/puppet/util/command_line.rb:92:in `execute'\r\nc:/Program Files/Puppet Labs/Puppet/puppet/bin/puppet:8:in `<main>'\r\nAn error occurred executing a remote WinRM command.\r\n\r\nShell: powershell\r\nCommand: $env:FACTER_domain='local'; $env:FACTER_kernel='windows'; $env:FACTER_operatingsystem='windows'; $env:FACTER_osfamily='windows';  puppet apply --debug --trace --verbose --modulepath '/ProgramData/PuppetLabs/puppet/etc/modules;/tmp/vagrant-puppet-4/modules-0' --manifestdir /tmp/vagrant-puppet-4/manifests --detailed-exitcodes /tmp/vagrant-puppet-4/manifests/site.pp\r\nMessage: Puppet failed with an exit code of 1"}}