Skip to content

Latest commit

 

History

History
243 lines (142 loc) · 6.72 KB

REFERENCE.md

File metadata and controls

243 lines (142 loc) · 6.72 KB

Reference

Table of Contents

Classes

Public Classes

  • baculaweb: Installs bacula-web - A web based reporting and monitoring tool for Bacula.

Private Classes

  • baculaweb::config: Configure the bacula-web application and set proper permissions
  • baculaweb::install: Download the baculaweb source and install it in the root_dir

Classes

baculaweb

== Class: baculaweb

Parameters

The following parameters are available in the baculaweb class:

version

Data type: String

This version of baculaweb will be installed

archive_name

Data type: String

The filename of the archive which will be fetched from the mirror

Default value: "bacula-web-${version}.tgz"

user

Data type: String

The user under which the webserver is running

group

Data type: String

The group under which the webserver is running

archive_path

Data type: Stdlib::Compat::Absolute_path

The path where the fetched archive from the mirror will be saved

Default value: "${extract_base_dir}/${archive_name}"

mirror_base_url

Data type: Variant[Stdlib::HTTPUrl,Stdlib::HTTPSUrl]

The base url from where the archive will be downloaded

mirror

Data type: Variant[Stdlib::HTTPUrl,Stdlib::HTTPSUrl]

The complete URL to download the archive

Default value: "${mirror_base_url}/v${version}/${archive_name}"

extract_base_dir

Data type: Stdlib::Compat::Absolute_path

The base directory for extracting the archive

data_dir

Data type: Stdlib::Compat::Absolute_path

The directory wich holds persistent data for baculaweb

data_dir_assets_protected_path

Data type: Stdlib::Compat::Absolute_path

Subfolder for assets/protected in data_dir

Default value: "${data_dir}/protected"

extract_dir

Data type: Stdlib::Compat::Absolute_path

The full path of the directory where to save the archive for the specific version

Default value: "${extract_base_dir}/v${version}"

extract_creates

Data type: Stdlib::Compat::Absolute_path

The path of the directory that will be created after extracting the specific version

Default value: "${extract_dir}/bacula-web-${version}"

archive_symlink_to_root_dir

Data type: Boolean

Whether the extracted archive should be symlinked to the document root directory

data_dir_symlink

Data type: Boolean

Whether the data dir should be symlinked. This ensures data persistence after an upgrade e.g. user database.

root_dir

Data type: Stdlib::Compat::Absolute_path

The document root directory for the application

config_path

Data type: Stdlib::Compat::Absolute_path

The path of the application config file

Default value: "${root_dir}/application/config/config.php"

cache_path

Data type: Stdlib::Compat::Absolute_path

The path of the application cache directory

Default value: "${root_dir}/application/views/cache"

assets_protected_path

Data type: Stdlib::Compat::Absolute_path

The path of the application assets directory

Default value: "${root_dir}/application/assets/protected"

show_inactive_clients

Data type: Boolean

Show inactive clients or not

hide_empty_pools

Data type: Boolean

Hide empty pools

datetime_format

Data type: String

Change default date and time format

enable_users_auth

Data type: Boolean

Enable or disable users authentication - This settings is useful if you already authenticate users on Web server side, using .htpasswd or LDAP authentication (mod_auth_ldap or any other).

debug

Data type: Boolean

Enable or disable debug mode - Debug mode could be helpful to troubleshoot Bacula-Web setup problem

language

Data type:

Enum['en_US', 'be_BY', 'ca_ES', 'pl_PL', 'ru_RU', 'zh_CN', 'no_NO',
  'ja_JP', 'sv_SE', 'es_ES', 'de_DE', 'it_IT', 'fr_FR', 'pt_BR', 'nl_NL']

Set displayed language - choose from ['en_US', 'be_BY', 'ca_ES', 'pl_PL', 'ru_RU', 'zh_CN', 'no_NO', 'ja_JP', 'sv_SE', 'es_ES', 'de_DE', 'it_IT', 'fr_FR', 'pt_BR', 'nl_NL']

catalog_db

Data type:

Array[Struct[{
        label     => String,
        host      => Optional[String],
        login     => Optional[String],
        password  => Optional[String],
        db_name   => Optional[String],
        db_type   => Enum['mysql', 'pgsql', 'sqlite'],
        db_port   => Optional[Integer],
  }]]

Database connection settings for the bacula catalog databases