29 lines
610 B
Markdown
29 lines
610 B
Markdown
# Cockpit
|
|
|
|
The Hiera example below will install and activate the [web based management interface Cockpit](https://cockpit-project.org/) plus eventually some required modules:
|
|
|
|
```
|
|
base::package_groups:
|
|
- 'cockpit'
|
|
|
|
base::pkg_group::cockpit:
|
|
- 'cockpit'
|
|
- 'cockpit-...'
|
|
|
|
base::sockets:
|
|
cockpit:
|
|
enable: true
|
|
```
|
|
|
|
If you would like to disallow access from externally and only allow connections from the host itself, then extend the socket configuration as below:
|
|
|
|
```
|
|
base::sockets:
|
|
cockpit:
|
|
enable: true
|
|
dropin: true
|
|
options:
|
|
Socket:
|
|
ListenStream: ['', '[::1]:9090']
|
|
```
|