-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.rb
53 lines (53 loc) · 1.16 KB
/
base.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name "base"
description "Base role applied to all nodes."
run_list(
"recipe[locale]",
"recipe[hostname]",
"recipe[chef-client::delete_validation]",
"recipe[chef-client::config]",
"recipe[chef-client::service]",
"recipe[users::sysadmins]",
"recipe[sudo]",
"recipe[apt]",
"recipe[git]",
"recipe[build-essential]",
"recipe[postfix]",
"recipe[monit]",
"recipe[monit::source]",
"recipe[munin::client]",
"recipe[newrelic-sysmond]",
"recipe[remote_syslog]",
"recipe[byobu]",
"recipe[willcall::ec2_fix]",
"recipe[oh-my-zsh]"
)
override_attributes(
:authorization => {
:sudo => {
:users => ["ubuntu"],
:passwordless => true
}
},
:newrelic => {
:license_key => "bfb2b704f5cd20f7d766e0f3c72cf726b50999f4"
},
:remote_syslog => {
:server => "logs.papertrailapp.com",
:port => "50982"
},
:tracelytics => {
:access_key => "cbaf1a08-453f-49ed-aa06-af3358ee58e7"
},
:chef_client => {
:init_style => "runit"
},
:ohai => {
:plugin_path => "/etc/chef/ohai_plugins"
},
:monit => {
:notify_email => "[email protected]",
:mail_format => {
:from => "[email protected]"
}
}
)