2017-09-30 Fred Gleason <fredg@paravelsystems.com>

* Added a [Provisioning] section to rd.conf(5).
	* Moved code to create new hosts to the 'RDStation::create()' method.
	* Moved code to delete hosts to the 'RDStation::remove()' method.
	* Implemented 'CreateHost=' and 'NewHostTemplate=' parameters
	in the [Provisioning] section of rd.conf(5).
This commit is contained in:
Fred Gleason
2017-09-30 18:01:24 -04:00
parent 83cbd0268f
commit f17a4ca509
25 changed files with 1236 additions and 967 deletions

View File

@@ -33,6 +33,19 @@ MountOptions=defaults
CaeHostname=
XportHostname=
[Provisioning]
; If CreateHost=Yes, a Host entry will be automatically created in the DB
; when the 'rivendell' system service is started, using the Host definition
; specified in NewHostTemplate= as the template.
CreateHost=No
NewHostTemplate=some_host_entry
; If CreateService=Yes, a Service entry will be automatically created in the DB
; when the 'rivendell' system service is started, using the Service definition
; specified in NewServiceTemplate= as the template.
CreateService=No
NewServiceTemplate=some_service_entry
[Logs]
; Set the method to be used for logging. Possible values are:
; Syslog = Use the syslog facility.