|
17 | 17 | ### Defined types |
18 | 18 |
|
19 | 19 | * [`bacula::director::client`](#bacula--director--client): Define a Bacula Director Client |
| 20 | +* [`bacula::director::console`](#bacula--director--console): Define a Bacula Director Console |
20 | 21 | * [`bacula::director::fileset`](#bacula--director--fileset): Configure a Bacula Director Fileset |
21 | 22 | * [`bacula::director::job`](#bacula--director--job): Configure a Bacula Director Job |
22 | 23 | * [`bacula::director::pool`](#bacula--director--pool): Configure a Bacula Director Pool |
|
34 | 35 |
|
35 | 36 | ### Data types |
36 | 37 |
|
| 38 | +* [`Bacula::Command`](#Bacula--Command): A Bacula console command |
37 | 39 | * [`Bacula::JobType`](#Bacula--JobType): The type of job |
38 | 40 | * [`Bacula::Message`](#Bacula--Message): A Bacula message specification |
39 | 41 | * [`Bacula::Password`](#Bacula--Password): Temporary workarond to accept Sensitive and non-Sensitive passwords |
@@ -1042,6 +1044,127 @@ The path to the bacula configuration directory |
1042 | 1044 |
|
1043 | 1045 | Default value: `$bacula::conf_dir` |
1044 | 1046 |
|
| 1047 | +### <a name="bacula--director--console"></a>`bacula::director::console` |
| 1048 | + |
| 1049 | +This define creates a console declaration for the director. |
| 1050 | +Resources of this type are intended to manage conf.d/console.conf entries. |
| 1051 | + |
| 1052 | +Aside from Director resource names and console command names, |
| 1053 | +the special keyword *all* can be specified in any of the above access control lists. |
| 1054 | +When this keyword is present, any resource or command name (which ever is appropriate) will be accepted. |
| 1055 | + |
| 1056 | +#### Examples |
| 1057 | + |
| 1058 | +##### |
| 1059 | + |
| 1060 | +```puppet |
| 1061 | +bacula::director::console { 'Monitoring': |
| 1062 | + password => 'monitoring_password', |
| 1063 | +} |
| 1064 | +``` |
| 1065 | + |
| 1066 | +#### Parameters |
| 1067 | + |
| 1068 | +The following parameters are available in the `bacula::director::console` defined type: |
| 1069 | + |
| 1070 | +* [`conf_dir`](#-bacula--director--console--conf_dir) |
| 1071 | +* [`password`](#-bacula--director--console--password) |
| 1072 | +* [`jobacl`](#-bacula--director--console--jobacl) |
| 1073 | +* [`clientacl`](#-bacula--director--console--clientacl) |
| 1074 | +* [`storageacl`](#-bacula--director--console--storageacl) |
| 1075 | +* [`scheduleacl`](#-bacula--director--console--scheduleacl) |
| 1076 | +* [`poolacl`](#-bacula--director--console--poolacl) |
| 1077 | +* [`filesetacl`](#-bacula--director--console--filesetacl) |
| 1078 | +* [`catalogacl`](#-bacula--director--console--catalogacl) |
| 1079 | +* [`commandacl`](#-bacula--director--console--commandacl) |
| 1080 | +* [`whereacl`](#-bacula--director--console--whereacl) |
| 1081 | + |
| 1082 | +##### <a name="-bacula--director--console--conf_dir"></a>`conf_dir` |
| 1083 | + |
| 1084 | +Data type: `String` |
| 1085 | + |
| 1086 | +The bacula configuration director. Should not need adjusting |
| 1087 | + |
| 1088 | +Default value: `$bacula::conf_dir` |
| 1089 | + |
| 1090 | +##### <a name="-bacula--director--console--password"></a>`password` |
| 1091 | + |
| 1092 | +Data type: `String[1]` |
| 1093 | + |
| 1094 | +The password that must be supplied for a named Bacula Console to be authorized |
| 1095 | + |
| 1096 | +##### <a name="-bacula--director--console--jobacl"></a>`jobacl` |
| 1097 | + |
| 1098 | +Data type: `Optional[String[1]]` |
| 1099 | + |
| 1100 | +A list of Job resource names that can be accessed by the console. |
| 1101 | + |
| 1102 | +Default value: `undef` |
| 1103 | + |
| 1104 | +##### <a name="-bacula--director--console--clientacl"></a>`clientacl` |
| 1105 | + |
| 1106 | +Data type: `Optional[String[1]]` |
| 1107 | + |
| 1108 | +A list of Client resource names that can be accessed by the console. |
| 1109 | + |
| 1110 | +Default value: `undef` |
| 1111 | + |
| 1112 | +##### <a name="-bacula--director--console--storageacl"></a>`storageacl` |
| 1113 | + |
| 1114 | +Data type: `Optional[String[1]]` |
| 1115 | + |
| 1116 | +A list of Storage resource names that can be accessed by the console. |
| 1117 | + |
| 1118 | +Default value: `undef` |
| 1119 | + |
| 1120 | +##### <a name="-bacula--director--console--scheduleacl"></a>`scheduleacl` |
| 1121 | + |
| 1122 | +Data type: `Optional[String[1]]` |
| 1123 | + |
| 1124 | +A list of Schedule resource names that can be accessed by the console. |
| 1125 | + |
| 1126 | +Default value: `undef` |
| 1127 | + |
| 1128 | +##### <a name="-bacula--director--console--poolacl"></a>`poolacl` |
| 1129 | + |
| 1130 | +Data type: `Optional[String[1]]` |
| 1131 | + |
| 1132 | +A list of Pool resource names that can be accessed by the console. |
| 1133 | + |
| 1134 | +Default value: `undef` |
| 1135 | + |
| 1136 | +##### <a name="-bacula--director--console--filesetacl"></a>`filesetacl` |
| 1137 | + |
| 1138 | +Data type: `Optional[String[1]]` |
| 1139 | + |
| 1140 | +A list of FileSet resource names that can be accessed by the console. |
| 1141 | + |
| 1142 | +Default value: `undef` |
| 1143 | + |
| 1144 | +##### <a name="-bacula--director--console--catalogacl"></a>`catalogacl` |
| 1145 | + |
| 1146 | +Data type: `String[1]` |
| 1147 | + |
| 1148 | +A list of Catalog resource names that can be accessed by the console. |
| 1149 | + |
| 1150 | +Default value: `'*all*'` |
| 1151 | + |
| 1152 | +##### <a name="-bacula--director--console--commandacl"></a>`commandacl` |
| 1153 | + |
| 1154 | +Data type: `Array[Bacula::Command]` |
| 1155 | + |
| 1156 | +A list of of console commands that can be executed by the console. |
| 1157 | + |
| 1158 | +Default value: `['list']` |
| 1159 | + |
| 1160 | +##### <a name="-bacula--director--console--whereacl"></a>`whereacl` |
| 1161 | + |
| 1162 | +Data type: `Optional[String[1]]` |
| 1163 | + |
| 1164 | +This directive permits you to specify where a restricted console can restore files. |
| 1165 | + |
| 1166 | +Default value: `undef` |
| 1167 | + |
1045 | 1168 | ### <a name="bacula--director--fileset"></a>`bacula::director::fileset` |
1046 | 1169 |
|
1047 | 1170 | This class handles a Director's fileset.conf entry. Filesets are intended to |
@@ -2199,6 +2322,15 @@ A boolean value |
2199 | 2322 |
|
2200 | 2323 | ## Data types |
2201 | 2324 |
|
| 2325 | +### <a name="Bacula--Command"></a>`Bacula::Command` |
| 2326 | + |
| 2327 | +A Bacula console command |
| 2328 | + |
| 2329 | +* **See also** |
| 2330 | + * https://www.bacula.org/15.0.x-manuals/en/console/Bacula_Enterprise_Console.html |
| 2331 | + |
| 2332 | +Alias of `Enum['add', 'autodisplay', 'automount', 'cancel', 'cloud', 'create', 'delete', 'disable', 'enable', 'estimate', 'exit', 'gui', 'help', 'label', 'list', 'llist', 'messages', 'memory', 'mount', 'prune', 'purge', 'query', 'quit', 'relabel', 'release', 'reload', 'restart', 'resume', 'restore', 'run', 'setbandwidth', 'setdebug', 'setip', 'show', 'sqlquery', 'status', 'tag', 'time', 'trace', 'umount', 'unmount', 'update', 'use', 'var', 'version', 'wait', '.api', '.backups', '.clients', '.catalogs', '.defaults', '.die', '.dir', '.dump', '.exit', '.events', '.filesets', '.help', '.jobs', '.estimate', '.jlist', '.levels', '.messages', '.msgs', '.pools', '.quit', '.putfile', '.schedule', '.sql', '.status', '.storage', '.volstatus', '.media', '.mediatypes', '.locations', '.actiononpurge', '.bvfs_lsdirs', '.bvfs_lsfiles', '.bvfs_get_volumes', '.bvfs_update', '.bvfs_get_jobids', '.bvfs_get_jobs', '.bvfs_get_bootstrap', '.bvfs_get_fileindex', '.bvfs_versions', '.bvfs_get_delta', '.bvfs_restore', '.bvfs_cleanup', '.bvfs_decode_lstat', '.bvfs_clear_cache', '.bvfs_update_fv', '.bvfs_delete_fileid', '.setuid', '.ls', '.types', '.query', '.tags']` |
| 2333 | + |
2202 | 2334 | ### <a name="Bacula--JobType"></a>`Bacula::JobType` |
2203 | 2335 |
|
2204 | 2336 | The type of job |
|
0 commit comments