Permalink
Browse files

Don't prompt for conf file overwrite

  • Loading branch information...
1 parent 2361233 commit 980f29ce7180b638a0911fd7636a76f2cbd5a70a @gerhard gerhard committed Apr 18, 2012
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

0 comments on commit 980f29c

Please sign in to comment.