Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9cd029ece6
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (32 sloc) 1.115 kb
maintainer "Opscode, Inc."
maintainer_email "cookbooks@opscode.com"
license "Apache 2.0"
description "Installs sudo and configures /etc/sudoers"
version "1.0.0"
recipe "sudo", "Installs sudo and configures /etc/sudoers"
%w{redhat centos fedora ubuntu debian freebsd}.each do |os|
supports os
end
attribute "authorization",
:display_name => "Authorization",
:description => "Hash of Authorization attributes",
:type => "hash"
attribute "authorization/sudoers",
:display_name => "Authorization Sudoers",
:description => "Hash of Authorization/Sudoers attributes",
:type => "hash"
attribute "authorization/sudoers/users",
:display_name => "Sudo Users",
:description => "Users who are allowed sudo ALL",
:type => "array",
:default => ""
attribute "authorization/sudoers/groups",
:display_name => "Sudo Groups",
:description => "Groups who are allowed sudo ALL",
:type => "array",
:default => ""
attribute "authorization/sudoers/passwordless",
:display_name => "Passwordless Sudo",
:description => "",
:type => "string",
:default => "false"
Jump to Line
Something went wrong with that request. Please try again.