scripts: Add autocluster-test-ctdb script
[tridge/autocluster.git] / defaults.yml
1 #
2 # Environment
3 #
4
5 # As seen by nodes
6 virthost: 10.0.0.1
7 timezone: Australia/Canberra
8
9 #
10 # Repositories
11 #
12
13 repositories_delete_existing: false
14 repository_baseurl: http://10.0.0.1/mediasets
15 repositories: []
16
17 #
18 # Source tarball locations
19 #
20
21 # A single tarball is usually specified.  A binary tarball is built
22 # from it and installed on nas/ad nodes.
23 tarball:
24
25 # A cluster containing a single tbuild node can be created and
26 # configured to build from multiple tarballs.  This batches the node
27 # creation and minimises the time spent updating packages and
28 # installing build dependencies in the bootstrap step.
29 tarballs: []
30
31 tarball_install_prefix: /usr/local/samba
32
33 #
34 # Cluster
35 #
36
37 vagrant_box: generic/centos7
38 vagrant_provider: libvirt
39
40 # Supported types: nas, ad, base, build, cbuild, storage, test
41 node_list: [nas, nas, nas, nas, base]
42
43 cpus: 2
44 memory: 2048
45
46 # Block devices shared between nodes, used for cluster filesystem
47 shared_disks:
48   count: 3
49   size: 10G
50
51 # Currently unused
52 #disksize: 20G
53 #rootsize: 15000
54 #swapsize: 2000
55
56 #
57 # Cluster filesystem
58 #
59 clusterfs:
60   type: gpfs
61   mountpoint: /clusterfs
62
63 # Networking
64
65 resolv_conf:
66   domain: example.com
67   search: example.com
68   # Defaults to 1st AD node if one exists
69   nameserver: 10.0.0.1
70
71 samba:
72   workgroup: EXAMPLE
73
74 networks:
75 - 10.0.0.0/24
76 - 10.0.1.0/24
77 - 10.0.2.0/24
78 # Final octet for 1st IP of cluster
79 firstip: 20
80 # Offset from firstip of public IP addresses
81 public_ip_offset: 100
82
83 #
84 # Authentication
85 #
86
87 # Default automatically switches to winbind if an AD node exists
88 auth_method: files
89 # Defaults to 1st AD node, if one exists
90 kdc: example-ad
91
92 #
93 # Active directory
94 #
95
96 ad:
97   admin_password: p@ssw0rd
98   # Defaults to virthost
99   dns_forwarder: 10.0.0.1
100
101 #
102 # Includes
103 #
104
105 # Useful for combining configurations, particularly static +
106 # generated.  Note that position in current file does not matter: any
107 # included configuration overrides configuration from the current
108 # file.  This means that include: should logically be at the end.  Can
109 # be either a single filename or a list of filenames.
110
111 # include: foo.yml
112
113 # include:
114 # - a.yml
115 # - b.yml
116
117 ...