Changeset 1029 for opsi/products/bacula/CLIENT_DATA
- Timestamp:
- Jul 10, 2012, 7:00:00 PM (12 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.