]> git.openstreetmap.org Git - chef.git/blob - roles/sarel.rb
Update taginfo package list for Ubuntu 18.04 compatibility
[chef.git] / roles / sarel.rb
1 name "sarel"
2 description "Master role applied to sarel"
3
4 default_attributes(
5   :git => {
6     :allowed_nodes => "fqdn:*",
7     :user => "chefrepo",
8     :group => "chefrepo",
9     :backup => "chef-git"
10   },
11   :networking => {
12     :interfaces => {
13       :internal_ipv4 => {
14         :interface => "eth0.2801",
15         :role => :internal,
16         :family => :inet,
17         :address => "10.0.0.12"
18       },
19       :external_ipv4 => {
20         :interface => "eth0.2800",
21         :role => :external,
22         :family => :inet,
23         :address => "193.60.236.20"
24       }
25     }
26   }
27 )
28
29 run_list(
30   "role[ucl]",
31   "role[hp-g5]",
32   "role[yournavigation]",
33   "role[chef-server]",
34   "role[chef-repository]",
35   "role[letsencrypt]",
36   "recipe[git::server]",
37   "recipe[serverinfo]"
38 )