Puppet Class: stunnel::instance_purge

Defined in:
manifests/instance_purge.pp

Summary

Purge `stunnel::instance` resources that were previously managed by this module

Overview

The native type has an ‘autobefore` that will ensure ordering.

It is **highly recommended** that you always include this class if you have ever used the stunnel defined types. If you choose not to, then you will likely have stunnel instance processes that remain on your system and which may not function properly.

Parameters:

  • purge_dirs (Array[Stdlib::Absolutepath]) (defaults to: [ '/etc/stunnel', '/etc/rc.d/init.d', '/etc/systemd/system' ])

    The directories to search for files to purge

Author:



15
16
17
18
19
20
21
22
23
24
# File 'manifests/instance_purge.pp', line 15

class stunnel::instance_purge (
  Array[Stdlib::Absolutepath] $purge_dirs = [ '/etc/stunnel',
                                              '/etc/rc.d/init.d',
                                              '/etc/systemd/system'
                                            ]
) {
  stunnel_instance_purge { 'stunnel_managed_by_puppet':
    dirs => $purge_dirs
  }
}