projects
/
chef.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add support for distributing gdnsd configuration via rsync
[chef.git]
/
roles
/
geodns.rb
1
name "geodns"
2
description "Role applied to all geographic DNS servers"
3
4
default_attributes(
5
:rsyncd => {
6
:modules => {
7
:geodns => {
8
:comment => "GeoDNS",
9
:path => "/etc/gdnsd/config.d",
10
:read_only => false,
11
:write_only => true,
12
:list => false,
13
:transfer_logging => false,
14
:hosts_allow => [
15
"193.60.236.20" # sarel
16
]
17
}
18
}
19
}
20
)
21
22
run_list(
23
"recipe[rsyncd]",
24
"recipe[geodns]"
25
)