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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.