Puppet Class: storm::frontend

Defined in:
manifests/frontend.pp

Summary

StoRM Frontend puppet module

Overview

Examples:

Example of usage

class { 'storm::frontend':
  be_xmlrpc_host  => 'storm-backend.host.org',
  be_xmlrpc_token => 'my-secret-xmlrpc-token',
  db_host         => 'storm-backend.host.org',
  db_passwd       => 'my-secret-db-password',
}

Parameters:

  • storm_frontend_server_conf_file (String)

    Use this parameter to provide your own storm-frontend-server.conf file. This can be used, for example, when you're using the latest module version to configure an old StoRM deployment. This parameter is used only when it has a non-empty value and it overwrites several other module parameters. Default value: empty string (that means not used).

  • be_xmlrpc_host (String) (defaults to: $fqdn)

    StoRM Backend hostname.

  • be_xmlrpc_port (Integer)

    StoRM Backend XML-RPC server port. Default value: 8080.

  • be_xmlrpc_token (String)

    Security token used for communicating with StoRM Backend. Mandatory.

  • be_xmlrpc_path (String)

    StoRM Backend XML-RPC server path. Default value: '/RPC2'.

  • be_recalltable_port (Integer)

    StoRM Backend REST server port running on the Backend machine. Default value: 9998.

  • db_host (String) (defaults to: $be_xmlrpc_host)

    Host for database connection.

  • db_user (String)

    User for database connection. Default value: 'storm'.

  • db_passwd (String)

    Password for database connection. Default value: 'storm'.

  • port (Integer)

    Frontend service port. Default value: 8444.

  • threadpool_maxpending (Integer)

    Size of the internal queue used to maintain SRM tasks in case there are no free worker threads. Default value: 200.

  • threadpool_threads_number (Integer)

    Size of the worker thread pool. Default value: 50.

  • gsoap_maxpending (Integer)

    Size of the GSOAP queue used to maintain pending SRM requests. Default value: 1000.

  • check_user_blacklisting (Boolean)

    Enable/disable user blacklisting. Default value: false.

  • argus_pepd_endpoint (String)

    The complete service endpoint of Argus PEP server. Mandatory if check_user_blacklisting is true.

  • argus_resource_id (String)

    The resource id is used to target a resource (or set of resources, if wildcards are used) under the control of Argus authorization. Mandatory if check_user_blacklisting is true.

  • monitoring_enabled (Boolean)

    Enable/disable monitoring. Default value: true.

  • monitoring_time_interval (Integer)

    Time interval in seconds between each monitoring round. Default value: 60.

  • monitoring_detailed (Boolean)

    Enable/disable detailed monitoring. Default value: false.

  • security_enable_vomscheck (Boolean)

    Flag to enable/disable checking proxy VOMS credentials. Default value: true.

  • log_debuglevel (String)

    Logging level. Possible values are: ERROR, WARN, INFO, DEBUG, DEBUG2. Default value: INFO.



81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# File 'manifests/frontend.pp', line 81

class storm::frontend (

  String $storm_frontend_server_conf_file,

  String $be_xmlrpc_token,
  Integer $be_xmlrpc_port,
  String $be_xmlrpc_path,
  Integer $be_recalltable_port,

  String $db_user,
  String $db_passwd,

  Integer $port,
  Integer $threadpool_threads_number,
  Integer $threadpool_maxpending,
  Integer $gsoap_maxpending,

  Boolean $check_user_blacklisting,
  String $argus_pepd_endpoint,
  String $argus_resource_id,

  Boolean $monitoring_enabled,
  Integer $monitoring_time_interval,
  Boolean $monitoring_detailed,

  Boolean $security_enable_vomscheck,

  String $log_debuglevel,

  String $be_xmlrpc_host = $fqdn,
  String $db_host = $be_xmlrpc_host,

) {
  contain storm::frontend::install
  contain storm::frontend::config
  contain storm::frontend::service

  Class['storm::frontend::install']
  -> Class['storm::frontend::config']
  -> Class['storm::frontend::service']
}