Downloads:

67,572

Downloads of v 3.7.17:

3,393

Last Update:

7/31/2019

Package Maintainer(s):

Software Author(s):

  • Pivotal Software
  • Inc.

Tags:

RabbitMQ

3.7.17 | Updated: 7/31/2019

Downloads:

67,572

Downloads of v 3.7.17:

3,393

Software Author(s):

  • Pivotal Software
  • Inc.

Tags:

RabbitMQ 3.7.17

All Checks are Passing

2 Passing Test


Verification Testing Passed

Details

Validation Testing Passed

To install RabbitMQ, run the following command from the command line or from PowerShell:

>

To upgrade RabbitMQ, run the following command from the command line or from PowerShell:

>

To uninstall RabbitMQ, run the following command from the command line or from PowerShell:

>

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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://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. Enter your internal repository url

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

4. Choose your deployment method:


choco upgrade rabbitmq -y --source="'STEP 3 URL'" [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 rabbitmq -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure rabbitmq installed
  win_chocolatey:
    name: rabbitmq
    state: present
    version: 3.7.17
    source: STEP 3 URL

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

Coming early 2020!


chocolatey_package 'rabbitmq' do
  action    :install
  version  '3.7.17'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: rabbitmq,
    Version: 3.7.17,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller rabbitmq
{
   Name     = 'rabbitmq'
   Ensure   = 'Present'
   Version  = '3.7.17'
   Source   = 'STEP 3 URL'
}

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


package { 'rabbitmq':
  provider => 'chocolatey',
  ensure   => '3.7.17',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install rabbitmq version="3.7.17" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

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/31/2019.

Description

RabbitMQ, a multi-protocol open source messaging broker

The RabbitMQ Chocolatey package source has a new home at https://github.com/rabbitmq/chocolatey-package.
Pull requests are welcome.

Package Parameters

  • /NOMANAGEMENT - this setting will override the default enabling of the RabbitMQ management console'
  • /RABBITMQBASE - specify an optional RABBITMQ_BASE. Note the parameter has no underscore, but the environment variable does. ex:/RABBITMQBASE:C:\ProgramData\RabbitMQ. The default is %AppData\RabbitMQ'

tools\chocolateyHelpers.ps1
function Get-ChocolateyPackageParameters {
  $match_pattern = "\/(?<option>([a-zA-Z]+)):(?<value>([`"'])?([a-zA-Z0-9- _\\:\.]+)([`"'])?)|\/(?<option>([a-zA-Z]+))"
  $arguments = @{}
  $packageParameters = ${Env:ChocolateyPackageParameters}

  if ($packageParameters) {
    if ($packageParameters -Match $match_pattern) {
      $results = $packageParameters | Select-String $match_pattern -AllMatches
      $results.matches | % {
        $arguments.Add(
        $_.Groups['option'].Value.Trim(),
        $_.Groups['value'].Value.Trim())
      }
    } else {
      throw "Package Parameters were found but were invalid (REGEX Failure)"
    }
  }

  return $arguments
}

function Get-RabbitMQPath {
  $regPath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ"
  if (Test-Path "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ") {
    $regPath = "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\RabbitMQ"
  }

  if (Test-Path $regPath) {
    $path = Split-Path -Parent (Get-ItemProperty $regPath "UninstallString").UninstallString
    $version = (Get-ItemProperty $regPath "DisplayVersion").DisplayVersion
    return "$path\rabbitmq_server-$version"
  }
}
tools\chocolateyInstall.ps1
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
. "$PSScriptRoot\ChocolateyHelpers.ps1"

$arguments = Get-ChocolateyPackageParameters ${Env:ChocolateyPackageParameters}

if ($arguments['RABBITMQBASE']) {
  [System.Environment]::SetEnvironmentVariable("RABBITMQ_BASE", $arguments['RABBITMQBASE'], "Machine" )
  ${Env:RABBITMQ_BASE} = $arguments['RABBITMQBASE']
}

Install-ChocolateyPackage 'rabbitmq' 'EXE' '/S' 'https://github.com/rabbitmq/rabbitmq-server/releases/download/v3.7.17/rabbitmq-server-3.7.17.exe'

$rabbitPath = Get-RabbitMQPath
if (-not $arguments.ContainsKey('NOMANAGEMENT')) {
  Start-Process "$rabbitPath\sbin\rabbitmq-plugins.bat" 'enable rabbitmq_management' -NoNewWindow -Wait
}
tools\chocolateyUninstall.ps1
if(!$PSScriptRoot){ $PSScriptRoot = Split-Path $MyInvocation.MyCommand.Path -Parent }
. "$PSScriptRoot\ChocolateyHelpers.ps1"

$rabbitPath = Get-RabbitMQPath

Start-Process -Wait "$rabbitPath\..\uninstall" "/S"

$erlangKey = "HKLM:\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ"
if (Test-Path $erlangKey) {
  Get-Process | Where-Object {$_.ProcessName -like "*erl*"} | Stop-Process -Force
  Remove-Item $erlangKey
}

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.

Version Downloads Last Updated Status
RabbitMQ 3.7.15 2041 Friday, May 31, 2019 approved
RabbitMQ 3.7.13 3128 Monday, March 11, 2019 approved
RabbitMQ 3.7.12 691 Tuesday, February 26, 2019 approved
RabbitMQ 3.7.7 12889 Thursday, July 5, 2018 approved
RabbitMQ 3.7.6 858 Thursday, June 21, 2018 approved
RabbitMQ 3.7.3 6835 Wednesday, February 21, 2018 approved
RabbitMQ 3.6.14 3940 Monday, November 20, 2017 approved
RabbitMQ 3.6.11 4752 Wednesday, August 16, 2017 approved
RabbitMQ 3.6.10 3287 Thursday, May 25, 2017 approved
Show More

    • erlang (≥ 20.3 && ≤ 22.0)
Discussion for the RabbitMQ Package

Ground Rules:

  • This discussion is only about RabbitMQ and the RabbitMQ 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 RabbitMQ, 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