Skip to content

Instantly share code, notes, and snippets.

@maplebed
Created March 4, 2013 22:11
Show Gist options
  • Save maplebed/5086156 to your computer and use it in GitHub Desktop.
Save maplebed/5086156 to your computer and use it in GitHub Desktop.
Only install the ganglia module if the ganglia cookbook exists
# if the host has ganglia, install the mongo plugin.
if node.recipes.include?("ganglia::default")
include_recipe "ganglia::default"
ganglia_python "mongodb" do
action :enable
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment