Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't prompt for conf file overwrite

  • Loading branch information...
commit 980f29ce7180b638a0911fd7636a76f2cbd5a70a 1 parent 2361233
@gerhard gerhard authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  recipes/default.rb
View
3  recipes/default.rb
@@ -19,7 +19,8 @@
package "rrdtool"
package "ganglia-monitor" do
version "#{node[:ganglia][:version]}*"
- only_if "[ $(dpkg -l ganglia-monitor 2>&1 | grep #{node[:ganglia][:version]} | grep -c 'hi') = 0 ]"
+ options '-o Dpkg::Options::="--force-confold"'
+ only_if "[ $(dpkg -l ganglia-monitor 2>&1 | grep #{node[:ganglia][:version]} | grep -c 'h[ic]') = 0 ]"
end
bash "freeze ganglia-monitor package" do
Please sign in to comment.
Something went wrong with that request. Please try again.