Code cleanup (remove debug), added supports os.

This commit is contained in:
Eric Renfro 2015-05-13 12:40:40 -04:00
parent a9ed25fe10
commit 6233c6c97d
2 changed files with 5 additions and 11 deletions

View file

@ -4,7 +4,11 @@ maintainer_email 'erenfro@linux-help.org'
license 'All rights reserved' license 'All rights reserved'
description 'Configures sudo rules from data bags using the sudo cookbook' description 'Configures sudo rules from data bags using the sudo cookbook'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) 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' depends 'sudo', '>= 2.7.1'

View file

@ -83,16 +83,6 @@ else
commands rule_commands commands rule_commands
defaults rule_defaults defaults rule_defaults
end 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
end end