Module tlsfiles
In: /modules/tlsfiles/manifests/init.pp

tlsfiles

This module is used to manage Private Key Infrastructure (PKI) Transport Layer Security (TLS) files. Typically these are Secure Socket Layer (SSL) private keys and certificates.

The module supports installing intermediate certificates as well as optionally joining keys and certificates into single files.

  • `tlsfiles` : Manage key and certificate

Example Usage :

    # In site.pp
    Tlsfile { srcdir => 'puppet:///modules/mymodule/tls' }
    # For a given node
    tlsfile { [ 'www.example.com', 'admin.example.com' ]: }

Defines

tlsfiles  

Defines

tlsfiles( $srcdir => 'tlsfiles', $group => 'root', $keymode => '0600', $crtmode => '0644', $intjoin => 'false', $pem => 'false', $crtpath => '/etc/pki/tls/certs', $intcert => 'false', $keypath => '/etc/pki/tls/private', $owner => 'root' )

Define: tlsfiles

Manage Private Key Infrastructure (PKI) Transport Layer Security (TLS) files.

Sample Usage :

 # Files would be inside mymodulename/templates/tlsfiles/
 tlsfile { 'www.example.com':
     srcdir => 'mymodulename/tlsfiles',
 }

[Validate]