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+unsubscr...@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.