update error message on missing packages
This commit is contained in:
+2
-4
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user