Skip to content

Commit bee535d

Browse files
authored
Updates to documentation (#277)
* Updates to documentation fixes #79 fixes #68 fixes #69 * update Foreman Host 1 image
1 parent 409279a commit bee535d

File tree

9 files changed

+115
-52
lines changed

9 files changed

+115
-52
lines changed

FOREMAN_SCREENSHOTS.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Foreman Screenshots
2+
3+
## Foreman Smart Proxy
4+
5+
![](screenshots/foreman/Foreman-Smart-Proxy-1.png)
6+
![](screenshots/foreman/Foreman-Smart-Proxy-2.png)
7+
8+
## Foreman Host
9+
10+
![](screenshots/foreman/Foreman-Host-1.png)
11+
![](screenshots/foreman/Foreman-Host-2.png)
12+
![](screenshots/foreman/Foreman-Host-3.png)

README.md

Lines changed: 52 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,64 @@ At the moment manual installation is only tested on macOS, CentOS 7 and 8 Stream
1414

1515
See [MANUAL_INSTALL.md](MANUAL_INSTALL.md)
1616

17-
## Automated Installation
17+
## Automated installation
1818

1919
Docker containers are made available. You can find more information in [DOCKER.md](DOCKER.md).
2020
For automated installations we recommend using Puppet code. A working profile example can be found in [PUPPET.md](PUPPET.md)
2121

22+
## Configuration Options
23+
24+
HDM needs a configuration file (hdm.yml). Location depends on installation method:
25+
26+
- Manual installation: within the HDM git clone in `config/hdm.yml`
27+
- Docker installation: on the docker host in `/etc/hdm/hdm.yml`
28+
29+
Configurations are provided as a Hash. The main hash key describes the Rails environment HDM is running in:
30+
31+
- Manual installation: depending on RAILS ENVIRONMENT env var - defaults to `development`
32+
- Docker installation: set to `production`
33+
34+
The following configuration options are possible:
35+
36+
```yaml
37+
# hdm.yml
38+
production:
39+
authentication_disabled: false # disable user auth and management
40+
41+
read_only: true # read/write mode?
42+
43+
allow_encryption: false # encypting eyaml
44+
45+
puppet_db: # PuppetDB access - plain text (default)
46+
server: http://localhost:8080
47+
puppet_db: # PuppetDB access- PE token auth
48+
server: 'https://localhost:8081'
49+
token: '/etc/hdm/puppetdb.token'
50+
cacert: '<path to cacert>'
51+
puppet_db: # PuppetDB access - SSL Cert auth
52+
server: 'https://localhost:8081'
53+
pem:
54+
key: <path to key>
55+
cert: <path to cert>
56+
ca_file: <path to ca_file>
57+
58+
hiera_config_file: "hiera.yaml" # hiera config file name
59+
60+
config_dir: /etc/puppetlabs/code # puppet code directory
61+
62+
ldap: # LDAP User auth
63+
host: 'localhost'
64+
port: 389
65+
base_dn: 'ou=hdm,dc=nodomain'
66+
bind_dn: 'cn=admin,dc=nodomain'
67+
bind_dn_password: 'openldap'
68+
ldaps: false
69+
```
70+
2271
## Usermanagement
2372
73+
Usermanagement can be disabled in HDM config file by specifying the `authentication_disabled` option.
74+
2475
A fresh installation needs an admin which has to be created first with the WebGUI. That admin can not read the Puppet configuration. He/She can only create/delete new users. Normal users have the ability to read/change/delete the Puppet configuration data.
2576

2677
## Use git repositories instead of "live" yaml files

SCREENSHOTS.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Screenshots
2+
3+
## Initial page
4+
5+
![](screenshots/HDM-01-initial_page.png)
6+
7+
## Create admin
8+
9+
![](screenshots/HDM-02-create_admin.png)
10+
11+
## Create user
12+
13+
![](screenshots/HDM-03-create_user.png)
14+
15+
![](screenshots/HDM-04-create_user_2.png)
16+
17+
![](screenshots/HDM-05-logout_admin.png)
18+
19+
## Login user
20+
21+
![](screenshots/HDM-06-login_user.png)
22+
23+
## Select an environment
24+
25+
![](screenshots/HDM-07-select_env.png)
26+
27+
![](screenshots/HDM-08-select_env_2.png)
28+
29+
## Select a node
30+
31+
![](screenshots/HDM-09-select_node.png)
32+
33+
![](screenshots/HDM-10-node_data.png)
34+
35+
## Select a key
36+
37+
![](screenshots/HDM-11-node_data_details.png)
38+
39+
![](screenshots/HDM-12-node_data_details_2.png)
40+
41+
## Search a key
42+
43+
![](screenshots/HDM-13-search_key.png)
44+
45+
## Search key result
46+
47+
![](screenshots/HDM-14-search_key_result.png)
48+
49+
## Search key result details
50+
51+
![](screenshots/HDM-15-search_key_result_details.png)

screenshots/README.md

Lines changed: 0 additions & 51 deletions
This file was deleted.
135 KB
Loading
124 KB
Loading
133 KB
Loading
95.7 KB
Loading
87.2 KB
Loading

0 commit comments

Comments
 (0)