Skip to content

Commit

Permalink
Add description to use hdm module on SLES (#74)
Browse files Browse the repository at this point in the history
* Add description to use hdm module on SLES

* correct typo
  • Loading branch information
tuxmea committed Jan 10, 2024
1 parent 86bf391 commit 2e4a8ad
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- [Major Update](#major-update)
- [Setup](#setup)
- [Setup Requirements](#setup-requirements)
- [SLES and Docker module](#sles-and-docker-module)
- [Beginning with betadots HDM](#beginning-with-betadots-hdm)
- [Reference](#reference)
- [Limitations](#limitations)
Expand Down Expand Up @@ -67,6 +68,28 @@ If you want to install HDM using RVM, you need the following modules:
- puppetlabs/vcsrepo - min version 5.2.0
- puppet/systemd - min version 3.10.0

### SLES and Docker module

The [puppetlabs-docker](https://forge.puppet.com/modules/puppetlabs/docker/readme) Module lacks official SLES and SuSe support. Yet: the module is usable on SLES.

The installation of Docker can not be done using the module on SLES.
But one can use any other defined type like `docker::image` or `docker::run`.

One **must** set the `acknowledge_unsupported_os` parameter to `true` and must tell the module to not manage the docker installation.

To allow full functionality, the hdm parameter for `manage_docker` must be set to `true`, as we deactivate this in module data.

Hiera:

```yaml
---
# Allow Docker to work on SLES
docker::acknowledge_unsupported_os: true
docker::manage_package: false
# Enable HDM to use docker module on SLES
hdm::manage_docker: true
```

### Beginning with betadots HDM

The most simple approach is to just include the hdm class and provide the version parameter:
Expand Down

0 comments on commit 2e4a8ad

Please sign in to comment.