projects
/
chef.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add more location and hosting information
[chef.git]
/
roles
/
yandex.rb
1
name "yandex"
2
description "Role applied to all servers at Yandex"
3
4
default_attributes(
5
:hosted_by => "Yandex",
6
:location => "Moscow, Russia",
7
:networking => {
8
:nameservers => ["8.8.8.8", "8.8.4.4"],
9
:roles => {
10
:external => {
11
:zone => "yx"
12
}
13
}
14
}
15
)
16
17
override_attributes(
18
:ntp => {
19
:servers => ["0.ru.pool.ntp.org", "1.ru.pool.ntp.org", "europe.pool.ntp.org"]
20
}
21
)
22
23
run_list(
24
"role[ru]"
25
)