update error message on missing packages

This commit is contained in:
2023-04-06 14:24:13 +02:00
parent e022c360f9
commit 0b3ee35fa2
+2 -4
View File
@@ -109,14 +109,12 @@ Please migrate them to the equivalent `base::*` list. You can have both of them
### Missing Package
If there is no such package in the repositories, we get the rather uninformative error message
If there is no such package in the repositories, then
```
Error: /Stage[main]/.../Package[nc]: Could not evaluate: no implicit conversion of Array into Hash
Error: Execution of '/usr/bin/dnf -d 0 -e 1 -y install non-existing-package-for-test' returned 1: Error: Unable to find a match: non-existing-package-for-test
```
which is hopefully gets [improved one day](https://tickets.puppetlabs.com/browse/PUP-11697).
## Managing Services with Systemd
Hiera can also be used to manage services and to automate reoccuring tasks with timers.