diff --git a/metadata.rb b/metadata.rb index 2389ebc..e7ed5cb 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,11 @@ maintainer_email 'erenfro@linux-help.org' license 'All rights reserved' description 'Configures sudo rules from data bags using the sudo cookbook' long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) -version '0.1.1' +version '0.1.2' + +%w(redhat centos fedora ubuntu debian freebsd mac_os_x).each do |os| + supports os +end depends 'sudo', '>= 2.7.1' diff --git a/recipes/default.rb b/recipes/default.rb index 966e950..d68479f 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -83,16 +83,6 @@ else commands rule_commands defaults rule_defaults end - - #puts "ID: #{rule["id"]}" - #puts "Name: #{rule_name}" - #puts "Action: #{rule_action}" - #puts "User: #{rule_user}" - #puts "Runas: #{rule_runas}" - #puts "Nopasswd #{rule_nopasswd}" - #puts "Commands: #{rule_commands}" - #puts "Defaults: #{rule_defaults}" - #puts "--" end end