Issue #14663 has been reported by Sandro Mathys. ---------------------------------------- Feature #14663: systemd service provider should support masking https://projects.puppetlabs.com/issues/14663
Author: Sandro Mathys Status: Unreviewed Priority: Normal Assignee: Category: provider Target version: Affected Puppet version: 2.7.14 Keywords: systemd, systemctl, mask, masked, masking, service Branch: systemd knows three states for a service: enabled, disabled and masked. So far, the latter state doesn't seem to be supported by puppet's systemd service provider. The difference of disabling and masking a service is as follows: a disabled service can be started as a dependency of another service or be started manually by a user. A masked service can neither. Masking is done the same way as enabling or disabling: systemctl enable|disable|mask <service> So kindly implement either enable => mask(ed), ensure => masked (not sure what seems more logical) or mask(ed) => true|false in the systemd service provider. Note: there's also a "unmask" command to systemctl. I figure ensure => enabled|disabled should always unmask the service additionally to enable|disable it. Manpage: http://0pointer.de/public/systemd-man/systemctl.html -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
