Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of etcd (Install) available.

etcd (Install)

2.1.1

There are no package test results for this package

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved by moderator ferventcoder on 8/13/2015.

This package installs etcd as a service, and makes etcd-ctl.exe available in the path.

etcd 2.0 no longer respects the -config parameter, all settings must be passed in on the command line. The package will pass package parameters to the service.
Example: choco install etcd -y --params="-discovery https://discovery.etcd.io/tokengoeshere"

The service is managed with NSSM, you can change the service parameters easily by running nssm edit etcd

The github home for this package is: https://github.com/tnwinc/chocolatey-etcd we welcome pull requests!

To install etcd (Install), run the following command from the command line or from PowerShell:

C:\> choco install etcd --version 2.1.1

To upgrade etcd (Install), run the following command from the command line or from PowerShell:

C:\> choco upgrade etcd --version 2.1.1

Files

Hide
  • tools\chocolateyinstall.ps1 Show
    # stop on all errors
    $ErrorActionPreference = 'Stop';
    
    
    $packageName = 'etcd' # arbitrary name for the package, used in messages
    $url = '' # etcd is 64bit only ... this is intended to fail on 32 bit systems
    $url64 = "https://github.com/coreos/etcd/releases/download/v$($env:chocolateyPackageVersion)/etcd-v$($env:chocolateyPackageVersion)-windows-amd64.zip"
    $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    $installDir = "C:\ProgramData\etcd"
    
    Install-ChocolateyZipPackage "$packageName" "$url" "$installDir" "$url64"
    
    #remove the service if it exists
    if ((Get-Service | Where-Object { $_.Name -eq "etcd" }).length)
    {
    	Get-Service etcd | Stop-Service
    	&nssm remove etcd confirm
    }
    
    Copy-Item "C:\ProgramData\etcd\etcd-v$($env:chocolateyPackageVersion)-windows-amd64\*" C:\ProgramData\etcd -Recurse -Force
    Remove-Item "C:\ProgramData\etcd\etcd-v$($env:chocolateyPackageVersion)-windows-amd64" -Recurse -Force
    
    #older versions of etcd didn't put EXE on the binary
    if (Test-Path C:\ProgramData\etcd\etcd) { copy-item C:\ProgramData\etcd\etcd C:\ProgramData\etcd\etcd.exe -force; remove-item C:\ProgramData\etcd\etcd }
    if (Test-Path C:\ProgramData\etcd\etcdctl) { copy-item C:\ProgramData\etcd\etcdctl C:\ProgramData\etcd\etcdctl.exe -force; remove-item C:\ProgramData\etcd\etcdctl }
    
    Copy-Item C:\ProgramData\etcd\etcdctl.exe $toolsDir -Force
    &nssm install etcd C:\ProgramData\etcd\etcd.exe "$($env:chocolateyPackageParameters)"
    &nssm set etcd Start SERVICE_AUTO_START
  • tools\chocolateyuninstall.ps1 Show
    # stop on all errors
    $ErrorActionPreference = 'Stop';
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    if ((Get-Service | Where-Object { $_.Name -eq "etcd" }).length)
    {
    	Get-Service etcd | Stop-Service
    	&nssm remove etcd confirm
    }
    
    Remove-Item C:\ProgramData\etcd -Recurse -Force
    Remove-Item "$toolsDir\etcdctl.exe"

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • CoreOS

Tags

Version History

Version Downloads Last updated Status
etcd (Install) 3.3.10 11 Wednesday, October 10, 2018 waiting for maintainer
etcd (Install) 3.3.0 221 Tuesday, February 6, 2018 approved
etcd (Install) 3.2.24 26 Wednesday, July 25, 2018 approved
etcd (Install) 3.2.22 68 Wednesday, June 6, 2018 approved
etcd (Install) 3.2.19 66 Wednesday, April 25, 2018 approved
etcd (Install) 3.2.18 78 Thursday, March 29, 2018 approved
etcd (Install) 3.2.17 78 Thursday, March 15, 2018 approved
etcd (Install) 3.2.15 129 Thursday, February 1, 2018 approved
etcd (Install) 3.2.14 105 Friday, January 12, 2018 approved
Show More

Discussion for the etcd (Install) Package

Ground rules:

  • This discussion is only about etcd (Install) and the etcd (Install) package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or etcd (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok