cookbook 'murmur', '~> 0.1.1'
murmur (1) Versions 0.1.1 Follow0
Installs Murmur, the official Mumble server
cookbook 'murmur', '~> 0.1.1', :supermarket
knife supermarket install murmur
knife supermarket download murmur
murmur
Installs Murmur, the official Mumble server.
Platforms
Tested on Ubuntu 12.04 and Debian 6.0.6.
Will currently not work on non-Debian-likes because it uses an apt-specific installation flag, and relies on the gem_installation cookbook, which only works on Debian and Ubuntu.
Requirements
Chef 11
Examples
# Let's overwrite the default password and welcome text
node.set[:murmur][:config][:variables] = {
:serverpassword => {
:value => "secretpassword"
},
:welcometext => {
:value => '"Come mumble with us"'
}
}
# Password for the SuperUser account
node.set[:murmur][:superuser_password] = "supersecretpassword"
# Finally, let's install
include_recipe "murmur"
Recipes
murmur::default
Installs Murmur.
Attributes
default
Attribute | Description | Type | Default |
---|---|---|---|
user | system user to create | String | murmur |
group | system user group to create | String | murmur |
init_style | How to start the murmur service. See below | String | runit |
install_style | How to install murmur. See below | String | package |
home_dir | Directory to install murmur to | String | /srv/murmur |
config_dir | Directory where config will be saved | String | /etc/murmur |
database_dir | Directory where the murmur sqlite file will be saved | String | /srv/murmur/database |
config
Attribute | Description | Type | Default |
---|---|---|---|
variables | Config variables hash. Detailed below | Hash | check attributes/default.rb |
init_style
sysv
SysV style init script, included in the package installation.
runit
Runit script, installed under /etc/sv/murmur/run
install_style
package
Install Murmur from package. Since the Mumble project does not have their own repository, these packages might be out of date.
If this is a problem for you, let me know and I'll include installation from source.
Resources / Providers
none
Configuration variables hash structure
The configuration hash has an entry for every configuration setting in the following format:
:name_of_the setting => { :value => "the value for this setting",
:comment => "optionally, comments for this setting" }
# actual example
# this...
:port => {
:value => "64738",
:comment => "Port to bind TCP and UDP sockets to"
}
# ... will turn into this in the config file:
# Port to bind TCP und UDP sockets to
port=64738
Dependent cookbooks
apt >= 0.0.0 |
runit >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.1 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: murmur/metadata.rb:1
FC065: Ensure source_url is set in metadata: murmur/metadata.rb:1
FC066: Ensure chef_version is set in metadata: murmur/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.1 failed this metric
FC064: Ensure issues_url is set in metadata: murmur/metadata.rb:1
FC065: Ensure source_url is set in metadata: murmur/metadata.rb:1
FC066: Ensure chef_version is set in metadata: murmur/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
FC065: Ensure source_url is set in metadata: murmur/metadata.rb:1
FC066: Ensure chef_version is set in metadata: murmur/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.1 failed this metric
0.1.1 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number