Changeset 1029 for opsi/products/bacula
- Timestamp:
- Jul 10, 2012, 7:00:00 PM (12 years ago)
- Location:
- opsi/products/bacula
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/products/bacula/CLIENT_DATA/setup3264.ins
r1023 r1029 25 25 DefVar $INST_architecture$ 26 26 27 DefVar $filedaemon_name$28 27 DefVar $filedaemon_full_name$ 29 28 DefVar $filedaemon_full_password$ … … 38 37 set $INST_architecture$ = GetProductProperty("install_architecture","system specific") 39 38 40 set $filedaemon_ name$ = GetProductProperty( "filedaemon_name", "" )39 set $filedaemon_full_name$ = GetProductProperty( "filedaemon_full_name", "" ) 41 40 set $filedaemon_full_password$ = GetProductProperty( "filedaemon_full_password", "filedaemon_full_password" ) 41 set $filedaemon_monitor_name$ = GetProductProperty( "filedaemon_monitor_name", "" ) 42 42 set $filedaemon_monitor_password$ = GetProductProperty( "filedaemon_monitor_password", "filedaemon_monitor_password" ) 43 43 set $director_name$ = GetProductProperty( "director_name", "director_name" ) … … 85 85 comment "installing" 86 86 87 if $filedaemon_name$ = "" 88 set $filedaemon_full_name$ = "%PCname%-fd" 89 set $filedaemon_monitor_name$ = "%PCname%-mon" 90 else 91 set $filedaemon_full_name$ = "$filedaemon_name$-fd" 92 set $filedaemon_monitor_name$ = "$filedaemon_name$-mon" 87 if $filedaemon_full_name$ = "" 88 set $filedaemon_full_name$ = "%HostID%-fd" 89 opsiservicecall_set_product_property_filedaemon_full_name 90 endif 91 92 if $filedaemon_monitor_name$ = "" 93 set $filedaemon_monitor_name$ = "%HostID%-mon" 94 opsiservicecall_set_product_property_filedaemon_monitor_name 93 95 endif 94 96 … … 181 183 ) >> $InstallDir$/bacula-fd.conf 182 184 185 [opsiservicecall_set_product_property_filedaemon_full_name] 186 "method": "setProductProperty", 187 "params": [ 188 'bacula', 189 'filedaemon_full_name', 190 '$filedaemon_full_name$', 191 '%HostID%' 192 ] 193 194 [opsiservicecall_set_product_property_filedaemon_monitor_name] 195 "method": "setProductProperty", 196 "params": [ 197 'bacula', 198 'filedaemon_monitor_name', 199 '$filedaemon_monitor_name$', 200 '%HostID%' 201 ] 183 202 184 203 -
opsi/products/bacula/OPSI/control
r1025 r1029 1 1 [Package] 2 version: 22 version: 3 3 3 depends: 4 4 incremental: False … … 24 24 [ProductProperty] 25 25 type: unicode 26 name: filedaemon_ name27 multivalue: False 28 editable: True 29 description: filedaemon bacula name. Leave empty HOSTNAME-fd26 name: filedaemon_full_name 27 multivalue: False 28 editable: True 29 description: filedaemon bacula name. Leave empty for HostID-fd 30 30 default: [""] 31 31 … … 40 40 [ProductProperty] 41 41 type: unicode 42 name: filedaemon_monitor_name 43 multivalue: False 44 editable: True 45 description: filedaemon bacula name. Leave empty for HostID-mon 46 default: [""] 47 48 [ProductProperty] 49 type: unicode 42 50 name: filedaemon_monitor_password 43 51 multivalue: False … … 69 77 description: access to Bacula director for bconsole and bat 70 78 default: ["director_password"] 79 80 [ProductProperty] 81 type: unicode 82 name: fileset 83 multivalue: False 84 editable: True 85 description: only relevant for bacula director configuration 86 default: [""] 87 88 [ProductProperty] 89 type: unicode 90 name: jobdefs 91 multivalue: False 92 editable: True 93 description: only relevant for bacula director configuration 94 default: [""] 71 95 72 96 [ProductProperty] … … 80 104 81 105 [Changelog] 106 20120710, 5.2.10-3, Joerg Steffens 107 * write properties filedaemon_full_name and filedaemon_monitor_name back to opsi server 108 * added properties fileset and jobdefs 109 82 110 20120704, 5.2.10-2, Joerg Steffens 83 111 * uninstall
Note:
See TracChangeset
for help on using the changeset viewer.