Ask Your Question
0

Chocolatey Package naming

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

bvi1998 gravatar image

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

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

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

Thanks for your help!

edit retag flag offensive close merge delete

Comments

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

GregLarkin gravatar imageGregLarkin ( 2015-10-27 18:21:04 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 233 times

Last updated: Oct 07 '16