LEFT | RIGHT |
1 Adblock Plus infrastructure | 1 Adblock Plus infrastructure |
2 =========================== | 2 =========================== |
3 | 3 |
4 The Adblock Plus infrastructure uses [Puppet](http://puppetlabs.com/) | 4 The Adblock Plus infrastructure uses [Puppet](http://puppetlabs.com/) |
5 to set up servers, and to have a realistic development environment. | 5 to set up servers, and to have a realistic development environment. |
6 | 6 |
7 Our Puppet manifests are only tested with Ubuntu 12.04 right now. | 7 Our Puppet manifests are only tested with Ubuntu 12.04 right now. |
8 | 8 |
9 Environment specific setup | 9 Environment specific setup |
10 -------------------------- | 10 -------------------------- |
(...skipping 26 matching lines...) Expand all Loading... |
37 ----------------------- | 37 ----------------------- |
38 | 38 |
39 As with our other projects, all changes to our infrastructure should | 39 As with our other projects, all changes to our infrastructure should |
40 be made in a local development environment, and reviewed before | 40 be made in a local development environment, and reviewed before |
41 deployment. Thanks to Puppet, we can easily set up local VMs that | 41 deployment. Thanks to Puppet, we can easily set up local VMs that |
42 mirror our production environment. | 42 mirror our production environment. |
43 | 43 |
44 The most convenient way to do this is to use Vagrant, as described | 44 The most convenient way to do this is to use Vagrant, as described |
45 below. | 45 below. |
46 | 46 |
47 Hint for Windows users: One should set the git option `core.autocrlf` to | 47 Git users on Windows may experience issues caused by automatic line ending |
48 `false` or `input`, e.g. by running `git config --global core.autocrlf false`, | 48 conversion if the git option `core.autocrlf` is set to `true`. It is therefore |
49 otherwise there might occur a few strange problems because of line endings | 49 recommended to set this option to `false` or `input`, e.g. by running |
50 automatically converted to Windows's CR+LF style by git. | 50 `git config --global core.autocrlf false`. |
51 | 51 |
52 ### Requirements | 52 ### Requirements |
53 | 53 |
54 * [VirtualBox](https://www.virtualbox.org/) | 54 * [VirtualBox](https://www.virtualbox.org/) |
55 * [Vagrant](http://vagrantup.com/) | 55 * [Vagrant](http://vagrantup.com/) |
56 * Both `modules/private` and `hiera/private` exist (see above) | 56 * Both `modules/private` and `hiera/private` exist (see above) |
57 | 57 |
58 ### Start a VM | 58 ### Start a VM |
59 | 59 |
60 For each production server, we have a Vagrant VM with the same host | 60 For each production server, we have a Vagrant VM with the same host |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 Monitoring is fully functional in any environment, including development. | 192 Monitoring is fully functional in any environment, including development. |
193 Here, after bootstrapping the `server4` box, one can access the Nagios GUI | 193 Here, after bootstrapping the `server4` box, one can access the Nagios GUI |
194 from the host machine via <https://nagiosadmin:nagiosadmin@10.8.0.99/>. | 194 from the host machine via <https://nagiosadmin:nagiosadmin@10.8.0.99/>. |
195 | 195 |
196 The monitoring service of our production environment, however, is accessible | 196 The monitoring service of our production environment, however, is accessible |
197 via <https://monitoring.adblockplus.org/>. | 197 via <https://monitoring.adblockplus.org/>. |
198 Add yourself to _files/nagios-htpasswd_ in the _private_ module used on the | 198 Add yourself to _files/nagios-htpasswd_ in the _private_ module used on the |
199 server, or have someone add you if you don't have access. | 199 server, or have someone add you if you don't have access. |
200 | 200 |
201 | 201 |
LEFT | RIGHT |