summaryrefslogtreecommitdiff
path: root/README.md
blob: 239fbc5ab198fb2f15e84924af061ae58c880125 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
Leap Platform
=============================

[![Build Status](https://0xacab.org/leap/platform/badges/master/build.svg)](https://0xacab.org/leap/platform/commits/master)

The LEAP Platform is set of complementary packages and server recipes to
automate the maintenance of LEAP services in a hardened Debian environment. Its
goal is to make it as painless as possible for sysadmins to deploy and maintain
a service provider's infrastructure for secure communication. These recipes
define an abstract service provider. It is a set of Puppet modules designed to
work together to provide to sysadmins everything they need to manage a service
provider infrastructure that provides secure communication services.

Getting started
=============================

It is highly recommended that you start by reading the overview of the [LEAP
Platform](https://leap.se/docs/platform) and then begin with the [Quick Start
tutorial](https://leap.se/en/docs/platform/tutorials/quick-start) to walk
through a test environment setup to get familiar with how things work before
deploying to live servers.

An offline copy of this documentation is contained in the `docs` subdirectory:

    cd leap_platform
    gnome-open docs/index.html

Requirements
-----------------------------

For testing a virtual deployment simulated on your computer, you will need a
fairly recent computer x86_64 with hardware virtualization features (AMD-V or
VT-x) and plenty of RAM. If you follow the "Quick Start" documentation we will
walk you through using Vagrant to setup a test deployment.

For a live deployment of the platform, the number of servers that is required
depends on your needs and which services you want to deploy. At the moment, the
LEAP Platform supports servers with a base Debian Jessie installation.

Upgrading
=============================

If you are upgrading from a previous version of the LEAP Platform, take special
care to follow the instructions detailed in the CHANGES.md to move from one
release to the next.

Troubleshooting
=============================

If you have a problem, we are interested in fixing it!

If you have a problem, be sure to have a look at the [Known
Issues](https://leap.se/docs/platform/known-issues) to see if your issue is
detailed there.

If not, the best way for us to solve your problem is if you provide to us the
complete log of what you did, and the output that was produced. Please don't
cut out what appears to be useless information and only include the error that
you received, instead copy and paste the complete log so that we can better
determine the overall situation. If you can run the same command that produced
the error with a raised verbosity level (such as -v2), that provides us with
more useful debugging information.

To capture the log, you can copy from the console, or run `leap --log FILE` or
edit Leapfile to include `@log = '/tmp/leap.log'`.

Visit https://leap.se/en/docs/get-involved/communication for details on how to
contact the developers.

Known issues
==============================

ssh
------------------------------

* At the moment, it is only possible to add an admin who will have access to
  all LEAP servers (see: https://leap.se/code/issues/2280)

Deploying
-------------------------------

* If you have any errors during a run, please try to deploy again as this often
  solves non-deterministic issues that were not uncovered in our testing.
  Please re-deploy with `leap -v2 deploy` to get more verbose logs and capture
  the complete output to provide to us for debugging.

Contributing
================================

Run rake tests
--------------

    cd tests/platform-ci
    ./setup.sh
    bundle exec rake lint
    bundle exec rake syntax
    bundle exec rake validate
    bundle exec rake templates
    bundle exec rake catalog

Merge requests
--------------

In order to validate the syntax and style guide compliance before you commit,
see https://github.com/pixelated-project/puppet-git-hooks#installation
Please fork https://0xacab.org/leap/platform to open a merge request,
and pick the `Shared Runner (Whitewhale)` at https://0xacab.org/YOUR_USERNAME/platform/runners
in order to run a CI build for your merge request.

Changes
================================

Read CHANGES.md or run `git log`.

Authors and Credits
================================

See contributors:

    git shortlog -es --all


Copyright/License
================================

Read LICENSE