Skip to content
Browse files

set instead of default

  • Loading branch information...
1 parent 694ca74 commit 58cb38d5831a55030b72f5a7dba822a96d79fd4e @phunehehe committed Jan 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 munin/attributes/default.rb
View
6 munin/attributes/default.rb
@@ -1,13 +1,13 @@
case node[:platform]
when 'centos', 'redhat', 'fedora', 'amazon'
- default[:munin][:packages] = %w{ munin-node }
+ set[:munin][:packages] = %w{ munin-node }
set[:munin][:log_dir] = '/var/log/munin-node'
when 'debian', 'ubuntu'
set[:munin][:log_dir] = '/var/log/munin'
if node[:platform_version].to_f >= 10.04
- default[:munin][:packages] = %w{ munin-node munin-plugins-extra }
+ set[:munin][:packages] = %w{ munin-node munin-plugins-extra }
else
- default[:munin][:packages] = %w{ munin-node }
+ set[:munin][:packages] = %w{ munin-node }
end
end

0 comments on commit 58cb38d

Please sign in to comment.
Something went wrong with that request. Please try again.