From 100e3c2fa30e06a604aaa4536214c41980aeab72 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Mon, 21 Nov 2022 11:43:24 +0100 Subject: [PATCH] add managing of services using Hiera --- rhel8/software.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rhel8/software.md b/rhel8/software.md index 25e49a92..396f15b3 100644 --- a/rhel8/software.md +++ b/rhel8/software.md @@ -44,7 +44,7 @@ base::pkg_group::java: ### Install Latest Package Version -Puppet by default only checks if a package is installed and only installs it if missing. +Puppet by default only checks if a package is installed and only installs it if missing. To ensure that always the latest available package version is installed, append the `:latest` tag to the package name in the package group: ``` @@ -101,7 +101,7 @@ Please migrate them to the equivalent `base::*` list. You can have both of them Hiera can also be used to manage services and to automate reoccuring tasks with timers. -### Enabling/Starting a Service +### Enabling/Starting a Service If the software already comes with an systemd unit file, then it is sufficient to just enable it in Hiera by using the `base::services` key: @@ -110,7 +110,7 @@ base::services: netdata: enable: true ``` -The key inside is the `systemd` service name without the `.service` suffix. +The key inside is the `systemd` service name without the `.service` suffix. ### Disabling/Stopping a Service