|
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 |
@@ -1007,6 +1008,143 @@ The path to the bacula configuration directory |
1007 | 1008 |
|
1008 | 1009 | Default value: `$bacula::conf_dir` |
1009 | 1010 |
|
| 1011 | +### <a name="bacula--director--console"></a>`bacula::director::console` |
| 1012 | + |
| 1013 | +This define creates a console declaration for the director. |
| 1014 | +Resources of this type are intended to manage conf.d/console.conf entries. |
| 1015 | + |
| 1016 | +Aside from Director resource names and console command names, |
| 1017 | +the special keyword *all* can be specified in any of the above access control lists. |
| 1018 | +When this keyword is present, any resource or command name (which ever is appropriate) will be accepted. |
| 1019 | + |
| 1020 | +#### Examples |
| 1021 | + |
| 1022 | +##### |
| 1023 | + |
| 1024 | +```puppet |
| 1025 | +bacula::director::console { 'Monitoring': |
| 1026 | + password => 'monitoring_password', |
| 1027 | +} |
| 1028 | +``` |
| 1029 | + |
| 1030 | +#### Parameters |
| 1031 | + |
| 1032 | +The following parameters are available in the `bacula::director::console` defined type: |
| 1033 | + |
| 1034 | +* [`conf_dir`](#-bacula--director--console--conf_dir) |
| 1035 | +* [`password`](#-bacula--director--console--password) |
| 1036 | +* [`jobacl`](#-bacula--director--console--jobacl) |
| 1037 | +* [`clientacl`](#-bacula--director--console--clientacl) |
| 1038 | +* [`storageacl`](#-bacula--director--console--storageacl) |
| 1039 | +* [`scheduleacl`](#-bacula--director--console--scheduleacl) |
| 1040 | +* [`poolacl`](#-bacula--director--console--poolacl) |
| 1041 | +* [`filesetacl`](#-bacula--director--console--filesetacl) |
| 1042 | +* [`catalogacl`](#-bacula--director--console--catalogacl) |
| 1043 | +* [`commandacl`](#-bacula--director--console--commandacl) |
| 1044 | +* [`whereacl`](#-bacula--director--console--whereacl) |
| 1045 | + |
| 1046 | +##### <a name="-bacula--director--console--conf_dir"></a>`conf_dir` |
| 1047 | + |
| 1048 | +Data type: `String` |
| 1049 | + |
| 1050 | +The bacula configuration director. Should not need adjusting |
| 1051 | + |
| 1052 | +Default value: `$bacula::conf_dir` |
| 1053 | + |
| 1054 | +##### <a name="-bacula--director--console--password"></a>`password` |
| 1055 | + |
| 1056 | +Data type: `String[1]` |
| 1057 | + |
| 1058 | +The password that must be supplied for a named Bacula Console to be authorized |
| 1059 | + |
| 1060 | +##### <a name="-bacula--director--console--jobacl"></a>`jobacl` |
| 1061 | + |
| 1062 | +Data type: `Optional[String[1]]` |
| 1063 | + |
| 1064 | +A list of Job resource names that can be accessed by the console. |
| 1065 | + |
| 1066 | +Default value: `undef` |
| 1067 | + |
| 1068 | +##### <a name="-bacula--director--console--clientacl"></a>`clientacl` |
| 1069 | + |
| 1070 | +Data type: `Optional[String[1]]` |
| 1071 | + |
| 1072 | +A list of Client resource names that can be accessed by the console. |
| 1073 | + |
| 1074 | +Default value: `undef` |
| 1075 | + |
| 1076 | +##### <a name="-bacula--director--console--storageacl"></a>`storageacl` |
| 1077 | + |
| 1078 | +Data type: `Optional[String[1]]` |
| 1079 | + |
| 1080 | +A list of Storage resource names that can be accessed by the console. |
| 1081 | + |
| 1082 | +Default value: `undef` |
| 1083 | + |
| 1084 | +##### <a name="-bacula--director--console--scheduleacl"></a>`scheduleacl` |
| 1085 | + |
| 1086 | +Data type: `Optional[String[1]]` |
| 1087 | + |
| 1088 | +A list of Schedule resource names that can be accessed by the console. |
| 1089 | + |
| 1090 | +Default value: `undef` |
| 1091 | + |
| 1092 | +##### <a name="-bacula--director--console--poolacl"></a>`poolacl` |
| 1093 | + |
| 1094 | +Data type: `Optional[String[1]]` |
| 1095 | + |
| 1096 | +A list of Pool resource names that can be accessed by the console. |
| 1097 | + |
| 1098 | +Default value: `undef` |
| 1099 | + |
| 1100 | +##### <a name="-bacula--director--console--filesetacl"></a>`filesetacl` |
| 1101 | + |
| 1102 | +Data type: `Optional[String[1]]` |
| 1103 | + |
| 1104 | +A list of FileSet resource names that can be accessed by the console. |
| 1105 | + |
| 1106 | +Default value: `undef` |
| 1107 | + |
| 1108 | +##### <a name="-bacula--director--console--catalogacl"></a>`catalogacl` |
| 1109 | + |
| 1110 | +Data type: `String[1]` |
| 1111 | + |
| 1112 | +A list of Catalog resource names that can be accessed by the console. |
| 1113 | + |
| 1114 | +Default value: `'*all*'` |
| 1115 | + |
| 1116 | +##### <a name="-bacula--director--console--commandacl"></a>`commandacl` |
| 1117 | + |
| 1118 | +Data type: |
| 1119 | + |
| 1120 | +```puppet |
| 1121 | +Array[Enum[ |
| 1122 | + ['add'], ['autodisplay'], ['automount'], ['cancel'], ['cloud'], ['create'], ['delete'], ['disable'], ['enable'], ['estimate'], |
| 1123 | + ['exit'], ['gui'], ['help'], ['label'], ['list'], ['llist'], ['messages'], ['memory'], ['mount'], ['prune'], ['purge'], ['query'], |
| 1124 | + ['quit'], ['relabel'], ['release'], ['reload'], ['restart'], ['resume'], ['restore'], ['run'], ['setbandwidth'], ['setdebug'], |
| 1125 | + ['setip'], ['show'], ['sqlquery'], ['status'], ['tag'], ['time'], ['trace'], ['umount'], ['unmount'], ['update'], ['use'], ['var'], |
| 1126 | + ['version'], ['wait'], ['.api'], ['.backups'], ['.clients'], ['.catalogs'], ['.defaults'], ['.die'], ['.dir'], ['.dump'], ['.exit'], |
| 1127 | + ['.events'], ['.filesets'], ['.help'], ['.jobs'], ['.estimate'], ['.jlist'], ['.levels'], ['.messages'], ['.msgs'], ['.pools'], |
| 1128 | + ['.quit'], ['.putfile'], ['.schedule'], ['.sql'], ['.status'], ['.storage'], ['.volstatus'], ['.media'], ['.mediatypes'], |
| 1129 | + ['.locations'], ['.actiononpurge'], ['.bvfs_lsdirs'], ['.bvfs_lsfiles'], ['.bvfs_get_volumes'], ['.bvfs_update'], |
| 1130 | + ['.bvfs_get_jobids'], ['.bvfs_get_jobs'], ['.bvfs_get_bootstrap'], ['.bvfs_get_fileindex'], ['.bvfs_versions'], ['.bvfs_get_delta'], |
| 1131 | + ['.bvfs_restore'], ['.bvfs_cleanup'], ['.bvfs_decode_lstat'], ['.bvfs_clear_cache'], ['.bvfs_update_fv'], ['.bvfs_delete_fileid'], |
| 1132 | + ['.setuid'], ['.ls'], ['.types'], ['.query'], ['.tags'], |
| 1133 | + ]] |
| 1134 | +``` |
| 1135 | + |
| 1136 | +A list of of console commands that can be executed by the console. |
| 1137 | + |
| 1138 | +Default value: `['list']` |
| 1139 | + |
| 1140 | +##### <a name="-bacula--director--console--whereacl"></a>`whereacl` |
| 1141 | + |
| 1142 | +Data type: `Optional[String[1]]` |
| 1143 | + |
| 1144 | +This directive permits you to specify where a restricted console can restore files. |
| 1145 | + |
| 1146 | +Default value: `undef` |
| 1147 | + |
1010 | 1148 | ### <a name="bacula--director--fileset"></a>`bacula::director::fileset` |
1011 | 1149 |
|
1012 | 1150 | This class handles a Director's fileset.conf entry. Filesets are intended to |
|
0 commit comments