Merge pull request #250 from bastelfreak/docs
document systemd::unit_file example with puppet-strings
Manage systemd-coredump config and setup
* `systemd::manage_coredump` to enable everything
* `systemd::coredump_settings` will manage `/etc/systemd/coredump.conf`
* `systemd::backtrace` if true will add --backtrace to systemd-coredump
call
So typical use would be
```puppet
class{'systemd':
manage_coredump => true,
coredump_settings => {
'Storage' => 'external',
},
coredump_backtrace => true,
}
```
to enable storing cores on disk and writing backtraces to
the journal.Merge pull request #251 from traylenator/coredump
Manage systemd-coredump config and setup
timer: timer unit must depend on service unit.
Without this, issues like: cvmfs-fsck.timer: Refusing to start, unit cvmfs-fsck.service to trigger not loaded. may be observed.
Merge pull request #253 from unibonn/fix-timer-deps
timer: timer unit must depend on service unit.
Do not install systemd-resolved RedHat 8
MR #246 started installing the `systemd-resolved` package on RedHat 8 and 9 however this quite wrong for 8 where systemd-resolved is not a sub package. ``` > rpm -qf /usr/bin/systemd-resolve systemd-239-56.el8.x86_64 ```
Merge pull request #254 from traylenator/noteight
Do not install systemd-resolved RedHat 8
New parmater manage_resolv_conf for /etc/resolv.conf
If the parameter is true (default) then `/etc/resolv.conf` will be managed when `manage_resolved` is true.
Merge pull request #256 from traylenator/skip
New parmater manage_resolv_conf for /etc/resolv.conf
Merge pull request #255 from traylenator/accept
Addition of Trivial Acceptance Tests
Don't manage /etc/resolv.conf if systemd-resolved is stopped
If `systemd-resolved` is stopped but managed via
```
class{'systemd:
managed_resolved => true,
resolved_ensure => 'stopped',
}
```
Then the files in `/var/run/systemd/resolv` will either
be stale(just stopped) or missing(after reboot). In both cases it
makes no sense to manage `/etc/resolv.conf`.
More over for the case where `systemd-resolved` has just
been stopped reinstate `/run/systemd/resolve/resolv.conf`
as `/etc/resolv.conf`.Merge pull request #252 from traylenator/stop
Don't manage /etc/resolv.conf if systemd-resolved is stopped
Merge pull request #257 from traylenator/seven
Install systemd-resolved on RedHat 7