forked from chef-boneyard/cookbooks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
metadata.rb
39 lines (32 loc) · 1.09 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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"