Puppet Class: puppet::agent::ssl::clean

Inherits:
puppet::params
Defined in:
manifests/agent/ssl/clean.pp

Summary

Remove Puppet cerificate and keys on the host

Overview

Remove Puppet cerificate and keys on the host

Examples:

include puppet::agent::ssl::clean

Parameters:

  • hostprivkey (Stdlib::Unixpath) (defaults to: $puppet::params::hostprivkey)
  • hostpubkey (Stdlib::Unixpath) (defaults to: $puppet::params::hostpubkey)
  • hostcert (Stdlib::Unixpath) (defaults to: $puppet::params::hostcert)
  • hostreq (Stdlib::Unixpath) (defaults to: $puppet::params::hostreq)
  • localcacert (Stdlib::Unixpath) (defaults to: $puppet::params::localcacert)


7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# File 'manifests/agent/ssl/clean.pp', line 7

class puppet::agent::ssl::clean (
  Stdlib::Unixpath
          $hostprivkey = $puppet::params::hostprivkey,
  Stdlib::Unixpath
          $hostpubkey  = $puppet::params::hostpubkey,
  Stdlib::Unixpath
          $hostcert    = $puppet::params::hostcert,
  Stdlib::Unixpath
          $hostreq     = $puppet::params::hostreq,
  Stdlib::Unixpath
          $localcacert = $puppet::params::localcacert,
) inherits puppet::params
{
  file {
    default:
      ensure => absent,
    ;
    $hostprivkey: ;
    $hostpubkey: ;
    $hostcert: ;
    $hostreq: ;
    $localcacert: ;
  }
}