wernerbahlke
2013-Mar-20 22:04 UTC
[Puppet Users] Still problem using Chocolatey provider on Windows
As some before me on the group, I have a problem getting the Chocolatey provider to work on Windows. I downloaded it from Github and placed it in /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise 2.7.19). On a Windows 8 client, I have a very simple manifest: class install_notepadplusplus { if $::osfamily == ''windows { $pkg = ''notepadplusplus'' package { $pkg: ensure => installed, provider => ''chocolatey'', } } } When I run the agent on the client, I get err: Failed to apply catalog: Parameter provider failed: Invalid package provider ''chocolatey'' at ... I have pluginsync = true on both master and client which is set by default using PE. Any hints will be greatly appreciated. Werner -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
wernerbahlke
2013-Mar-22 14:56 UTC
[Puppet Users] Re: Still problem using Chocolatey provider on Windows
I got it to work on Windows 7. On Windows 8 it would not find the provider. But the provider does not install the package completely for me yet. As a workaround I am using an exec of a powershell script. On Wednesday, March 20, 2013 6:04:30 PM UTC-4, wernerbahlke wrote:> > As some before me on the group, I have a problem getting the Chocolatey > provider to work on Windows. > > I downloaded it from Github and placed it in > /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise > 2.7.19). > > On a Windows 8 client, I have a very simple manifest: > > class install_notepadplusplus { > > if $::osfamily == ''windows { > $pkg = ''notepadplusplus'' > > package { $pkg: > ensure => installed, > provider => ''chocolatey'', > } > } > } > > When I run the agent on the client, I get > > err: Failed to apply catalog: Parameter provider failed: Invalid package > provider ''chocolatey'' at ... > > I have pluginsync = true on both master and client which is set by default > using PE. > > Any hints will be greatly appreciated. > > Werner >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Rich Siegel
2013-Mar-25 03:19 UTC
[Puppet Users] Re: Still problem using Chocolatey provider on Windows
I have not tested chocolatey/puppet-chocolatey on Win8. Unfortunately I will not have a Win8 test environment up for at least a few weeks due to other priorities. On Friday, March 22, 2013 10:56:34 AM UTC-4, wernerbahlke wrote:> I got it to work on Windows 7. On Windows 8 it would not find the > provider. But the provider does not install the package completely for me > yet. As a workaround I am using an exec of a powershell script. > > On Wednesday, March 20, 2013 6:04:30 PM UTC-4, wernerbahlke wrote: >> >> As some before me on the group, I have a problem getting the Chocolatey >> provider to work on Windows. >> >> I downloaded it from Github and placed it in >> /etc/puppetlabs/puppet/modules/chocolatey. (I am running Puppet Enterprise >> 2.7.19). >> >> On a Windows 8 client, I have a very simple manifest: >> >> class install_notepadplusplus { >> >> if $::osfamily == ''windows { >> $pkg = ''notepadplusplus'' >> >> package { $pkg: >> ensure => installed, >> provider => ''chocolatey'', >> } >> } >> } >> >> When I run the agent on the client, I get >> >> err: Failed to apply catalog: Parameter provider failed: Invalid package >> provider ''chocolatey'' at ... >> >> I have pluginsync = true on both master and client which is set by >> default using PE. >> >> Any hints will be greatly appreciated. >> >> Werner >> >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
Apparently Analagous Threads
- Installing Microsoft Visual Studio 2010 with Puppet?
- chocolatey, windows, powershell and fault bucket
- Removing custom facts from Facter
- Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance
- how do you update packages on windows?