projects
/
chef.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Configure external address for fafnir
[chef.git]
/
roles
/
aws.rb
1
name "aws"
2
description "Role applied to all servers on AWS"
3
4
default_attributes(
5
:networking => {
6
:nameservers => ["172.31.0.2"],
7
:roles => {
8
:internal => {
9
:inet => {
10
:prefix => "20",
11
:gateway => "172.31.0.1"
12
}
13
},
14
:external => {
15
:zone => "aws",
16
:inet => {
17
:prefix => "32"
18
}
19
}
20
}
21
}
22
)
23
24
override_attributes(
25
:ntp => {
26
:servers => ["0.ie.pool.ntp.org", "1.ie.pool.ntp.org", "europe.pool.ntp.org"]
27
}
28
)
29
30
run_list(
31
"role[ie]"
32
)