Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

etcd (Install)

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

  • 1
  • 2
  • 3

3.0.15 | Updated: 13 Jan 2017

Downloads:

29,880

Downloads of v 3.0.15:

387

Software Author(s):

  • CoreOS

etcd (Install) 3.0.15

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

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Resulted in Flagged:

This package was submitted (and approved) prior to automated virus scanning integration into the package moderation processs.

We recommend clicking the "Details" link to make your own decision on installing this package.

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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

>

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

>

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

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade etcd -y --source="'INTERNAL REPO URL'" --version="'3.0.15'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade etcd -y --source="'INTERNAL REPO URL'" --version="'3.0.15'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install etcd
  win_chocolatey:
    name: etcd
    version: '3.0.15'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'etcd' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '3.0.15'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller etcd
{
    Name     = "etcd"
    Version  = "3.0.15"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'etcd':
  ensure   => '3.0.15',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator flcdrg on 29 Jan 2017.

Description

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


tools\chocolateyBeforeModify.ps1

# 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
# stop on all errors
$ErrorActionPreference = 'Stop';

$packageName    = 'etcd'
$packageVersion = '3.0.15'
$url64          = 'https://github.com/coreos/etcd/releases/download/v3.0.15/etcd-v3.0.15-windows-amd64.zip'
$checksum64     = '8ae66018dd887a48b2cb344a8f979b55105cc559f18a1f4b8ba9d874fd921879'
$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" -Url64 "$url64" -UnzipLocation "$installDir" -ChecksumType64 "$checksumType64" -Checksum64 "$checksum64"

# 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
# stop on all errors
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Remove-Item C:\ProgramData\etcd -Recurse -Force
Remove-Item "$toolsDir\etcdctl.exe"

Log in or click on link to see number of positives.

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.

Add to Builder Version Downloads Last Updated Status
etcd (Install) 3.6.0-alpha0 196 Monday, February 28, 2022 Approved
etcd (Install) 3.5.12 52 Wednesday, January 31, 2024 Approved
etcd (Install) 3.5.11 48 Thursday, December 7, 2023 Approved
etcd (Install) 3.5.10 68 Friday, October 27, 2023 Approved
etcd (Install) 3.5.9 177 Thursday, May 11, 2023 Approved
etcd (Install) 3.5.8 85 Thursday, April 13, 2023 Approved
etcd (Install) 3.5.7 117 Friday, January 20, 2023 Approved
etcd (Install) 3.5.6 67 Friday, December 16, 2022 Approved
etcd (Install) 3.5.5 150 Thursday, September 15, 2022 Approved
etcd (Install) 3.5.4 148 Sunday, April 24, 2022 Approved
etcd (Install) 3.5.3 75 Thursday, April 14, 2022 Approved
etcd (Install) 3.5.2 133 Tuesday, February 1, 2022 Approved
etcd (Install) 3.5.1 293 Friday, October 15, 2021 Approved
etcd (Install) 3.5.0 222 Wednesday, June 16, 2021 Approved
etcd (Install) 3.5.0-rc1 85 Thursday, June 10, 2021 Approved
etcd (Install) 3.5.0-rc0 99 Friday, June 4, 2021 Approved
etcd (Install) 3.5.0-beta4 82 Wednesday, May 26, 2021 Approved
etcd (Install) 3.5.0-beta3 74 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-beta1 69 Tuesday, May 18, 2021 Approved
etcd (Install) 3.5.0-alpha0 106 Thursday, February 25, 2021 Approved
etcd (Install) 3.4.31 7 Wednesday, March 20, 2024 Approved
etcd (Install) 3.4.30 13 Wednesday, January 31, 2024 Approved
etcd (Install) 3.4.29 15 Tuesday, January 9, 2024 Approved
etcd (Install) 3.4.28 16 Thursday, November 23, 2023 Approved
etcd (Install) 3.4.27 34 Tuesday, July 11, 2023 Approved
etcd (Install) 3.4.26 26 Friday, May 12, 2023 Approved
etcd (Install) 3.4.25 31 Friday, April 14, 2023 Approved
etcd (Install) 3.4.24 42 Thursday, February 16, 2023 Approved
etcd (Install) 3.4.23 43 Wednesday, December 21, 2022 Approved
etcd (Install) 3.4.22 38 Friday, December 16, 2022 Approved
etcd (Install) 3.4.21 45 Thursday, September 15, 2022 Approved
etcd (Install) 3.4.20 56 Saturday, August 6, 2022 Approved
etcd (Install) 3.4.19 52 Tuesday, July 12, 2022 Approved
etcd (Install) 3.4.18 71 Friday, October 15, 2021 Approved
etcd (Install) 3.4.17 69 Monday, October 4, 2021 Approved
etcd (Install) 3.4.16 133 Wednesday, May 12, 2021 Approved
etcd (Install) 3.4.15 153 Saturday, February 27, 2021 Approved
etcd (Install) 3.4.14 218 Thursday, November 26, 2020 Approved
etcd (Install) 3.4.12 244 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.11 161 Wednesday, August 19, 2020 Approved
etcd (Install) 3.4.10 206 Friday, July 17, 2020 Approved
etcd (Install) 3.4.9 291 Friday, May 22, 2020 Approved
etcd (Install) 3.4.8 173 Tuesday, May 19, 2020 Approved
etcd (Install) 3.4.7 268 Thursday, April 2, 2020 Approved
etcd (Install) 3.4.6 213 Monday, March 30, 2020 Approved
etcd (Install) 3.4.5 246 Thursday, March 19, 2020 Approved
etcd (Install) 3.4.4 217 Tuesday, February 25, 2020 Approved
etcd (Install) 3.4.3 353 Wednesday, October 23, 2019 Approved
etcd (Install) 3.4.2 235 Friday, October 11, 2019 Approved
etcd (Install) 3.4.1 197 Wednesday, September 18, 2019 Approved
etcd (Install) 3.4.0 305 Friday, August 30, 2019 Approved
etcd (Install) 3.3.27 79 Friday, October 15, 2021 Approved
etcd (Install) 3.3.26 70 Monday, October 4, 2021 Approved
etcd (Install) 3.3.24 129 Wednesday, August 19, 2020 Approved
etcd (Install) 3.3.23 125 Friday, July 17, 2020 Approved
etcd (Install) 3.3.22 192 Friday, May 22, 2020 Approved
etcd (Install) 3.3.21 162 Tuesday, May 19, 2020 Approved
etcd (Install) 3.3.20 179 Thursday, April 2, 2020 Approved
etcd (Install) 3.3.19 195 Thursday, March 19, 2020 Approved
etcd (Install) 3.3.18 207 Wednesday, November 27, 2019 Approved
etcd (Install) 3.3.17 218 Friday, October 11, 2019 Approved
etcd (Install) 3.3.15 967 Friday, August 30, 2019 Approved
etcd (Install) 3.3.13 360 Friday, May 3, 2019 Approved
etcd (Install) 3.3.12 336 Friday, February 8, 2019 Approved
etcd (Install) 3.3.11 302 Saturday, January 12, 2019 Approved
etcd (Install) 3.3.10 257 Saturday, January 5, 2019 Approved
etcd (Install) 3.3.8 423 Friday, June 15, 2018 Approved
etcd (Install) 3.3.0 483 Tuesday, February 6, 2018 Approved
etcd (Install) 3.2.32 77 Monday, March 29, 2021 Approved
etcd (Install) 3.2.31 131 Tuesday, August 18, 2020 Approved
etcd (Install) 3.2.30 178 Thursday, April 2, 2020 Approved
etcd (Install) 3.2.29 213 Thursday, March 19, 2020 Approved
etcd (Install) 3.2.28 212 Monday, November 11, 2019 Approved
etcd (Install) 3.2.27 213 Wednesday, September 18, 2019 Approved
etcd (Install) 3.2.26 259 Saturday, January 12, 2019 Approved
etcd (Install) 3.2.25 266 Saturday, January 5, 2019 Approved
etcd (Install) 3.2.24 340 Wednesday, July 25, 2018 Approved
etcd (Install) 3.2.22 393 Wednesday, June 6, 2018 Approved
etcd (Install) 3.2.19 353 Wednesday, April 25, 2018 Approved
etcd (Install) 3.2.18 414 Thursday, March 29, 2018 Approved
etcd (Install) 3.2.17 315 Thursday, March 15, 2018 Approved
etcd (Install) 3.2.15 362 Thursday, February 1, 2018 Approved
etcd (Install) 3.2.14 360 Friday, January 12, 2018 Approved
etcd (Install) 3.2.13 348 Monday, January 8, 2018 Approved
etcd (Install) 3.2.12 399 Thursday, December 21, 2017 Approved
etcd (Install) 3.2.11 446 Wednesday, December 6, 2017 Approved
etcd (Install) 3.2.10 389 Friday, November 17, 2017 Approved
etcd (Install) 3.2.9 402 Monday, October 9, 2017 Approved
etcd (Install) 3.2.8 384 Monday, October 2, 2017 Approved
etcd (Install) 3.2.7 409 Tuesday, September 5, 2017 Approved
etcd (Install) 3.2.6 389 Wednesday, August 23, 2017 Approved
etcd (Install) 3.2.5 371 Wednesday, August 9, 2017 Approved
etcd (Install) 3.2.4 436 Thursday, July 20, 2017 Approved
etcd (Install) 3.2.3 366 Monday, July 17, 2017 Approved
etcd (Install) 3.2.2 340 Tuesday, July 11, 2017 Approved
etcd (Install) 3.2.1 393 Monday, June 26, 2017 Approved
etcd (Install) 3.1.20 257 Saturday, January 5, 2019 Approved
etcd (Install) 3.1.19 288 Tuesday, July 24, 2018 Approved
etcd (Install) 3.1.16 281 Friday, June 1, 2018 Approved
etcd (Install) 3.1.15 326 Wednesday, May 9, 2018 Approved
etcd (Install) 3.1.11 367 Wednesday, November 29, 2017 Approved
etcd (Install) 3.1.10 371 Wednesday, August 23, 2017 Approved
etcd (Install) 3.1.9 410 Monday, June 12, 2017 Approved
etcd (Install) 3.1.8 412 Monday, May 22, 2017 Approved
etcd (Install) 3.1.7 424 Tuesday, May 2, 2017 Approved
etcd (Install) 3.1.6 402 Thursday, April 20, 2017 Approved
etcd (Install) 3.1.5 406 Tuesday, March 28, 2017 Approved
etcd (Install) 3.1.4 372 Thursday, March 23, 2017 Approved
etcd (Install) 3.1.3 390 Monday, March 13, 2017 Approved
etcd (Install) 3.1.2 386 Monday, February 27, 2017 Approved
etcd (Install) 3.1.1 383 Tuesday, February 21, 2017 Approved
etcd (Install) 3.1.0 404 Monday, January 30, 2017 Approved
etcd (Install) 3.0.17 382 Monday, February 27, 2017 Approved
etcd (Install) 3.0.16 429 Monday, January 16, 2017 Approved
etcd (Install) 3.0.15 387 Friday, January 13, 2017 Approved
etcd (Install) 2.3.8 394 Monday, February 27, 2017 Approved
etcd (Install) 2.2.2 617 Wednesday, December 2, 2015 Approved
etcd (Install) 2.1.2 481 Sunday, August 23, 2015 Approved
etcd (Install) 2.1.1 378 Wednesday, July 22, 2015 Approved
etcd (Install) 2.0.13 442 Wednesday, July 22, 2015 Approved
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