Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manage systemd-coredump config and setup #251

Merged
merged 1 commit into from
Feb 17, 2022

Conversation

traylenator
Copy link
Contributor

@traylenator traylenator commented Feb 16, 2022

Pull Request (PR) description

Manage the systemd-coredump configuration.

  • systemd::manage_coredump to enable everything
  • systemd::coredump_settings will manage /etc/systemd/coredump.conf
  • systemd::backtrace if true will add --backtrace to the systemd-coredump call.

So typical use would be

class{'systemd':
  manage_coredump   => true,
  coredump_settings => {
    'Storage' => 'external',
  },
  coredump_backtrace => true,
}

to enable storing cores on disk and writing backtraces to
the journal.

@traylenator traylenator added the enhancement New feature or request label Feb 16, 2022
* `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.
@traylenator traylenator marked this pull request as ready for review February 17, 2022 11:44
@bastelfreak bastelfreak merged commit eaf66ff into voxpupuli:master Feb 17, 2022
@traylenator traylenator deleted the coredump branch February 17, 2022 16:13
op-ct pushed a commit to op-ct/puppet-systemd that referenced this pull request Jun 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants