Ask Your Question

Chocolatey Package naming

asked 2015-10-27 09:30:48 -0600

bvi1998 gravatar image

updated 2016-10-07 13:13:21 -0600

Hi, If my package name is nsclient64., is below still the proper way to reference the package name?

class nsclient64 {
  package { 'nsclient64': 
    ensure => '', 
    provider => 'chocolatey',
    source => 'http://servername:81/nuget/puppet', 
    install_options => ['-y'],

Thanks for your help!

edit retag flag offensive close merge delete


Is the package installing correctly or are you getting an error message?

GregLarkin gravatar imageGregLarkin ( 2015-10-27 18:21:04 -0600 )edit

I reformatted the code, and you had a missing comma in the package resource declaration, in case that matters. I added it back in.

GregLarkin gravatar imageGregLarkin ( 2015-10-27 18:21:37 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2016-10-07 13:14:21 -0600

The name is typically that name before the version, it is really what you see in the package id in the nuspec is the name of hte package for installs - <id>here</id>

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-10-27 09:30:48 -0600

Seen: 244 times

Last updated: Oct 07 '16