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+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. For more options, visit https://groups.google.com/groups/opt_out.
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+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. For more options, visit https://groups.google.com/groups/opt_out.
> > I think puppet does not provide the support for "chocolatey".Not out-of-the-box, but https://github.com/chocolatey/puppet-chocolatey adds that support. Cheers, Paul -- 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. For more options, visit https://groups.google.com/groups/opt_out.
Hi Nate, install_options is an array of additional options to pass when installing a package. so you can not pass ''latest'' parameter to it, instead you can try this for latest version installation package { ''Teamspeak3'' : ensure => latest, provider => ''chocolatey'', } Thanks & Regards Sneha More, NTT DATA GTS, OSS Center, India (pune) 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+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. For more options, visit https://groups.google.com/groups/opt_out.
I am using the puppet-chocolatey module. The forge page linked here to submit issues. Perhaps the link is not correct? Nate On Tue, Sep 17, 2013 at 8:23 AM, Sneha More <snehamore204@gmail.com> wrote:> Hi Nate, > install_options is an array of additional options to pass when > installing a package. so you can not pass ''latest'' parameter to it, instead > you can try this for latest version installation > package { ''Teamspeak3'' : > ensure => latest, > provider => ''chocolatey'', > } > Thanks & Regards > Sneha More, > NTT DATA GTS, OSS Center, India (pune) > 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+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. > For more options, visit https://groups.google.com/groups/opt_out.-- 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. For more options, visit https://groups.google.com/groups/opt_out.