Permalink
Browse files

correct the attribute name space for two attributes in the monitoring…

… recipe
  • Loading branch information...
1 parent 736357b commit b5aa59fecff5eaa6134fbe6ad453d3eff15a4055 @nathenharvey nathenharvey committed Apr 2, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 recipes/monitoring.rb
View
@@ -16,7 +16,7 @@
# limitations under the License.
#
-percona_plugins_tarball = "percona-monitoring-plugins-#{node['chef-percona-install']['plugins_version']}.tar.gz"
+percona_plugins_tarball = "percona-monitoring-plugins-#{node['percona-install']['plugins_version']}.tar.gz"
percona_plugins_url = "#{node['percona-install']['plugins_url']}/#{percona_plugins_tarball}"
directory "percona_plugins_dir" do
@@ -27,7 +27,7 @@
end
execute "percona-extract-plugins" do
- command "tar zxf #{Chef::Config[:file_cache_path]}/#{percona_plugins_tarball} --strip-components 2 -C #{node['chef-percona-install']['plugins_path']}"
+ command "tar zxf #{Chef::Config[:file_cache_path]}/#{percona_plugins_tarball} --strip-components 2 -C #{node['percona-install']['plugins_path']}"
creates "#{node['percona-install']['plugins_path']}/COPYING"
only_if do File.exist?("#{Chef::Config[:file_cache_path]}/#{percona_plugins_tarball}") end
action :run

0 comments on commit b5aa59f

Please sign in to comment.