What I meant is that it was just 'Acrobat Reader' in v1-9, then it was 'Acrobat Reader X', then a series of other names before v15 became 'Acrobat Reader DC'. It's a crapshoot every time they release a new version. This is not fun when there isn't a chocolate package to use instead.
On Fri, Dec 9, 2016 at 10:07 AM Dirk Heinrichs <[email protected]> wrote: > > > Am 09.12.2016 um 15:35 schrieb Rob Nelson: > > > > > > > > I think in this case it's an issue because Adobe puts > > version numbers in the product name - it's not Acrobat Reader > > anymore, it's Acrobat Reader DC or Acrobat Reader X, which leads > > to having to change two strings. Definitely not a fan of their > > versioning scheme. > > > > > > > Nope. At least on my system, the name is "Adobe Acrobat Reader DC" > > and the version is "15.020.20042". However, you're right in that > > some packages add the version to the name, for example Git for > > Windows, where the name looks like "Git version 2.11.0". In that > > case, one can either do: > > > > > > class git ($version = undef) { > > > package { "Git version ${version}": > > > ... > > > } > > > } > > > > > > or use the chocolatey package provider from PuppetForge, like > > > > > > class git { > > > package { 'git': > > > provider => 'chocolatey', > > > ensure => latest, > > > ... > > > } > > > } > > > > > > Note that in the 2nd example, one could also add the $version > > paramater and use that instead of latest. Depends on your needs. > > > > > > Bye... > > > > > > > Dirk > > > -- > > > *Dirk Heinrichs* | Senior > > Systems Engineer, Delivery Pipeline > > > [image: > http://mimage.opentext.com/alt_content/binary/images/email-signature/recommind-ot.png] > <http://www.opentext.com> > > > *Tel*: +49 2226 159666 (Ansage) 1149 > > > *Email*: [email protected] > > > *Skype*: dirk.heinrichs.recommind > > > > > Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach > > > Vertretungsberechtigte Geschäftsführer John Marshall > > Doolittle, Gordon Davies, Roger Illing, Registergericht > > Amtsgericht Bonn, Registernummer HRB 10646 > > > This e-mail may contain confidential and/or privileged > > information. If you are not the intended recipient (or have > > received this e-mail in error) please notify the sender > > immediately and destroy this e-mail. Any unauthorized copying, > > disclosure or distribution of the material in this e-mail is > > strictly forbidden > > > Diese E-Mail enthält vertrauliche und/oder rechtlich > > geschützte Informationen. Wenn Sie nicht der richtige Adressat > > sind oder diese E-Mail irrtümlich erhalten haben, informieren > > Sie bitte sofort den Absender und vernichten Sie diese Mail. > > Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser > > Mail sind nicht gestattet. > > > > > > > > > > www.recommind.com > > > > > > > > > > > > > > -- > > > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/6abc1208-db6f-d484-c7b2-d487ec6a4094%40recommind.com > <https://groups.google.com/d/msgid/puppet-users/6abc1208-db6f-d484-c7b2-d487ec6a4094%40recommind.com?utm_medium=email&utm_source=footer> > . > > > For more options, visit https://groups.google.com/d/optout. > > > -- Rob Nelson -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAC76iT-9AtBr2zfwew4%2Bz2x2Bjs-iDRT4-zkepC-oFN4Hv1dpQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
