Created
January 15, 2013 23:09
-
-
Save maplebed/4543032 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 # if ganglia and the gaglia-monitor-python packages are installed, | |
83 # enable the existing memcached module | |
84 | |
85 if node.recipes.include?("ganglia::default") | |
86 include_recipe "ganglia::default" | |
87 execute "enable memcached module" do | |
88 only_if "test -e /etc/ganglia/conf.d/memcached.pyconf.disabled" | |
89 cwd "/etc/ganglia/conf.d/" | |
90 command "mv memcached.pyconf.disabled memcached.pyconf" | |
91 creates "memcached.pyconf" | |
92 notifies :restart, "service[ganglia-monitor]" | |
93 end | |
94 end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment