Hi Nate, I think puppet does not provide the support for "chocolatey". See http://docs.puppetlabs.com/references/latest/type.html#package-attribute-provider for list of available provider which is supported by puppet.
Thanks and Regards, Rahul Khengare, NTT DATA OSS Center, Pune, India. On Tuesday, September 17, 2013 8:11:04 AM UTC+5:30, Nate Walck wrote: > > I started using chocolatey today and when trying to install an app > (Teamspeak3 in this case), I got the following error: > > Info: Applying configuration version '1379384597' > Warning: Puppet::Type::Package::ProviderChocolatey: Failed to match line ==no > version > Warning: Puppet::Type::Package::ProviderChocolatey: Failed to match line ==no > version > Notice: /Stage[main]/Gaming_desktop::Applications/Package[Teamspeak3]/ensure: > created > Notice: Finished catalog run in 6.96 seconds > Press any key to continue . . . > > I ran it again, same exact error. > > The config for it was: > > package { 'Teamspeak3' : > ensure => installed, > provider => 'chocolatey', > install_options => 'latest', > } > > I noticed when I changed it to: > > package { 'Teamspeak3' : > ensure => installed, > provider => 'chocolatey', > } > > It gave me the same error found here: > > Warning: Puppet::Type::Package::ProviderChocolatey: Failed to match line ==no > version > Warning: Puppet::Type::Package::ProviderChocolatey: Failed to match line ==no > version > > But it actually stared downloading the software rather than saying it > installed (which it hadn't previously). > > Am I using 'latest' incorrectly, or is something else going on here? > > Thanks, > > Nate > > > -- 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. For more options, visit https://groups.google.com/groups/opt_out.