| Puppet Version: 7.6.1 Puppet Server Version: N/A OS Name/Version: CentOS 8.3 I'm trying to translate the following command into Puppet:
systemctl stop systemd-coredump.socket |
systemctl mask systemd-coredump.socket |
The Puppet code i've written to do this is:
service { 'systemd-coredump.socket': |
ensure => 'stopped', |
enable => 'mask', |
} |
Desired Behavior: I would expect the service to be stopped and masked. Actual Behavior: The service is a 'static' service on the system and is resulting in a debug log being printed:
debug - Puppet - Unable to enable or disable static service systemd-coredump.socket |
|
` Please take a moment and attach any relevant log output and/or manifests. This will help us immensely when troubleshooting the issue. Examples: Run puppet agent with --test --trace --debug Relevant sections of /var/log/puppetlabs/puppetserver/puppetserver.log or any applicable logs from the same directory. For more detailed information turn up the server logs by upping the log level in the server's logback.xml Relevant sections of configurations files (puppet.conf, hiera.conf, Server's conf.d, defaults/sysconfig) For memory issues with server heap dumps are also helpful. |