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

etcd (Install)

3.2.4

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 7/20/2017.

etcd is a distributed, consistent key-value store for shared configuration and service discovery, with a focus on being:

* Simple: curl'able user facing API (HTTP+JSON)
* Secure: optional SSL client cert authentication
* Fast: benchmarked 1000s of writes/s per instance
* Reliable: properly distributed using Raft

etcd is written in Go and uses the Raft consensus algorithm to manage a highly-available replicated log.
This package installs etcd as a service, and makes etcdctl.exe available in the path.

The package will pass package parameters to the etcd 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

Originally packaged by Robert Labrie (https://github.com/tnwinc/chocolatey-etcd)

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

C:\> choco install etcd

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

C:\> choco upgrade etcd

Files

Hide
  • tools\chocolateyBeforeModify.ps1 Show
    # remove the service if it exists
    if ((Get-Service | Where-Object { $_.Name -eq "etcd" }).length) {
        Get-Service etcd | Stop-Service
        &nssm remove etcd confirm
    }
    
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName    = 'etcd'
    $packageVersion = '3.2.4'
    $url64          = 'https://github.com/coreos/etcd/releases/download/v3.2.4/etcd-v3.2.4-windows-amd64.zip'
    $checksum64     = '5d8537b083c242d4a5a86f744ebc946b992597298c0654e83e85c99f5e20fda9'
    $checksumType64 = 'sha256'
    
    $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 "$packageName" -UnzipLocation "$installDir" -Url64 "$url64" -Checksum64 "$checksum64" -ChecksumType64 "$checksumType64"
    
    # check OS bitness
    if (!([Environment]::Is64BitOperatingSystem)) {
    	Write-Error "etcd requires 64bit operating system"
    	exit
    }
    
    Copy-Item "C:\ProgramData\etcd\etcd-v$packageVersion-windows-amd64\*" C:\ProgramData\etcd -Recurse -Force
    Remove-Item "C:\ProgramData\etcd\etcd-v$packageVersion-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
    $ErrorActionPreference = 'Stop';
    
    $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
    
    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

Maintainer(s)

Software Author(s)

  • CoreOS

Copyright

(c) 2017 CoreOS, Inc

Tags

Release Notes

https://github.com/coreos/etcd/releases/tag/v3.2.4

Version History

Version Downloads Last updated Status
etcd (Install) 3.2.3 15 Monday, July 17, 2017 approved
etcd (Install) 3.2.2 11 Tuesday, July 11, 2017 approved
etcd (Install) 3.2.1 11 Monday, June 26, 2017 approved
etcd (Install) 3.1.9 19 Monday, June 12, 2017 approved
etcd (Install) 3.1.8 42 Monday, May 22, 2017 approved
etcd (Install) 3.1.7 39 Tuesday, May 2, 2017 approved
etcd (Install) 3.1.6 29 Thursday, April 20, 2017 approved
etcd (Install) 3.1.5 42 Tuesday, March 28, 2017 approved
etcd (Install) 3.1.4 30 Thursday, March 23, 2017 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