Skip to content

Instantly share code, notes, and snippets.

@three18ti
Forked from haus/rabbitmq
Created May 18, 2012 17:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save three18ti/2726440 to your computer and use it in GitHub Desktop.
Save three18ti/2726440 to your computer and use it in GitHub Desktop.
class rabbitmq {
apt::source { "rabbitmq":
location => "http://www.rabbitmq.com/debian/",
release => "testing",
repos => "main",
key => "056E8E56",
key_source => "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc",
pin => "-10",
include_src => false
}
apt::key { "rabbitmq":
key => "056E8E56",
key_source => "http://www.rabbitmq.com/rabbitmq-signing-key-public.asc",
}
package {
'rabbitmq-server':
ensure => installed
}
service {
'rabbitmq-server':
ensure => true,
enable => true,
require => Package['rabbitmq-server']
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment