Puppet Class: csync2::globals

Defined in:
manifests/globals.pp

Summary

Manages cluster software Csync2. This class loads the default platform depending parameters by doing a hiera lookup.

Overview

Parameters:

  • package_name (String)

    Package name to manage.

  • service_name (String)

    Name of the service to manage for Csync2.

  • config_dir (Stdlib::Absolutepath)

    Directory where Csync2 expected config, cert and key files.

  • config_path (Stdlib::Absolutepath)

    Path to the configuration file.

  • csync2_bin (Stdlib::Absolutepath)

    Path to the Cysnc2 binary.

  • ssl_cert_path (Stdlib::Absolutepath)

    Path to the fiile includes the certificate.

  • ssl_key_path (Stdlib::Absolutepath)

    Path to the file includes the private key.

  • service_opts (Optional[String]) (defaults to: undef)

    Additional options to the systemd service.



30
31
32
33
34
35
36
37
38
39
40
41
# File 'manifests/globals.pp', line 30

class csync2::globals (
  String                 $package_name,
  String                 $service_name,
  Stdlib::Absolutepath   $config_dir,
  Stdlib::Absolutepath   $config_path,
  Stdlib::Absolutepath   $csync2_bin,
  Stdlib::Absolutepath   $ssl_cert_path,
  Stdlib::Absolutepath   $ssl_key_path,
  Optional[String]       $service_opts = undef,
) {
  assert_private()
}