Resource Type: systemd_purge_units
- Defined in:
- lib/puppet/type/systemd_purge_units.rb
Overview
This is a metatype to purge unmanaged systemd units that were previously created with the ‘systemd::manage_unit` defined type.
Set the name of the resource to your systemd unit file path. (eg. ‘/etc/systemd/system`). Any unmanaged unit files in that directory whose first line is `# Deployed with puppet` will be removed. By default all unit types that `systemd::manage_unit` can create are considered, but this can be narrowed with the `unit_types` parameter.