blob: e07e7e6603ee28713a35b6c15f716ba4e9d73504 [file] [log] [blame]
Ales Komarekef982692016-02-21 14:56:07 +01001
2==================
smolaon552ba582016-02-23 20:35:42 +01003Metal as a Service
Ales Komarekef982692016-02-21 14:56:07 +01004==================
5
6Service maas description
7
8Sample pillars
9==============
10
11Single maas service
12
13.. code-block:: yaml
14
15 maas:
16 server:
17 enabled: true
18
Ondrej Smola9af2b082016-08-25 17:37:29 +020019Single MAAS region service [single UI/API]
20
21.. code-block:: yaml
22
Damian Szelugaa8248102017-03-16 08:48:51 +010023 maas:
24 region:
25 theme: mirantis
26 bind:
27 host: 192.168.0.10:5240
28 port: 5240
29 admin:
30 username: exampleuser
31 password: examplepassword
32 email: email@example.com
33 database:
34 engine: null
35 host: localhost
36 name: maasdb
37 password: qwqwqw
38 username: maas
39 enabled: true
40 user: mirantis
41 token: "89EgtWkX45ddjMYpuL:SqVjxFG87Dr6kVf4Wp:5WLfbUgmm9XQtJxm3V2LUUy7bpCmqmnk"
42 fabrics:
43 test-fabric:
44 description: Test fabric
45 subnets:
46 subnet1:
47 fabric: test-fabric
48 cidr: 2.2.3.0/24
49 gateway_ip: 2.2.3.2
50 iprange:
51 start: 2.2.3.20
52 end: 2.2.3.250
53 dhcp_snippets:
54 test-snippet:
55 value: option bootfile-name "tftp://192.168.0.10/snippet";
56 description: Test snippet
57 enabled: true
58 subnet: subnet1
59 boot_resources:
60 bootscript1:
61 title: bootscript
62 architecture: amd64/generic
63 filetype: tgz
64 content: /srv/salt/reclass/nodes/path_to_file
65 package_repositories:
66 Saltstack:
67 url: http://repo.saltstack.com/apt/ubuntu/14.04/amd64/2016.3/
68 distributions:
69 - trusty
70 components:
71 - main
72 - extra
73 arches: amd64
74 key: "-----BEGIN PGP PUBLIC KEY BLOCK-----
75 Version: GnuPG v2
Pavel Cizinsky5a6e2722016-08-31 15:58:13 +020076
Damian Szelugaa8248102017-03-16 08:48:51 +010077 mQENBFOpvpgBCADkP656H41i8fpplEEB8IeLhugyC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lYz/gwD/Fr
94 GL578WrLhKw3UvnJmlpqQaDKwmV2s7MsoZogC6wkHE92kGPG2GmoRD3ALjmCvN1E
95 PsIsQGnwpcXsRpYVCoW7e2nW4wUf7IkFZ94yOCmUq6WreWI4NggRcFC5ABEBAAGJ
96 AR8EGAECAAkFAlOpvpgCGwwACgkQDgihSd5Xv74/NggA08kEdBkiWWwJZUZEy7cK
97 WWcgjnRuOHd4rPeT+vQbOWGu6x4bxuVf9aTiYkf7ZjVF2lPn97EXOEGFWPZeZbH4
98 vdRFH9jMtP+rrLt6+3c9j0M8SIJYwBL1+CNpEC/BuHj/Ra/cmnG5ZNhYebm76h5f
99 T9iPW9fFww36FzFka4VPlvA4oB7ebBtquFg3sdQNU/MmTVV4jPFWXxh4oRDDR+8N
100 1bcPnbB11b5ary99F/mqr7RgQ+YFF0uKRE3SKa7a+6cIuHEZ7Za+zhPaQlzAOZlx
101 fuBmScum8uQTrEF5+Um5zkwC7EXTdH1co/+/V/fpOtxIg4XO4kcugZefVm5ERfVS
102 MA==
103 =dtMN
104 -----END PGP PUBLIC KEY BLOCK-----"
105 enabled: true
106 machines:
107 machine1:
108 interfaces:
109 - one1: "11:22:33:44:55:66"
110 power_parameters:
111 power_type: ipmi
112 power_address: '192.168.10.10'
113 power_user: bmc_user
114 power_password: bmc_password
115 devices:
116 machine1-ipmi:
117 interface:
118 ip_address: 192.168.10.10
119 subnet: cidr:192.168.10.0/24
120 mac: '66:55:44:33:22:11'
Ondrej Smola9af2b082016-08-25 17:37:29 +0200121
122
123Single MAAS cluster service [multiple racks]
124
125.. code-block:: yaml
126
127 maas:
128 cluster:
129 enabled: true
Jakub Pavlikf43512b2016-08-30 10:25:42 +0200130 role: master/slave
Ondrej Smola9af2b082016-08-25 17:37:29 +0200131
Ales Komarekef982692016-02-21 14:56:07 +0100132Read more
133=========
134
135*
Filip Pytlounc07d2352017-02-02 13:02:03 +0100136
137Documentation and Bugs
138======================
139
140To learn how to install and update salt-formulas, consult the documentation
141available online at:
142
143 http://salt-formulas.readthedocs.io/
144
145In the unfortunate event that bugs are discovered, they should be reported to
146the appropriate issue tracker. Use Github issue tracker for specific salt
147formula:
148
149 https://github.com/salt-formulas/salt-formula-maas/issues
150
151For feature requests, bug reports or blueprints affecting entire ecosystem,
152use Launchpad salt-formulas project:
153
154 https://launchpad.net/salt-formulas
155
156You can also join salt-formulas-users team and subscribe to mailing list:
157
158 https://launchpad.net/~salt-formulas-users
159
160Developers wishing to work on the salt-formulas projects should always base
161their work on master branch and submit pull request against specific formula.
162
163 https://github.com/salt-formulas/salt-formula-maas
164
165Any questions or feedback is always welcome so feel free to join our IRC
166channel:
167
168 #salt-formulas @ irc.freenode.net