mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-19 17:11:15 +02:00
2025-04-29 Fred Gleason <fredg@paravelsystems.com>
* Modified regex code in ' RDConfig::provisioningHostShortName()' and 'RDConfig::provisioningServiceName()' to use the QRegularExpression class rather than QRegExp. * Added a 'test_provisioning' test harness in 'tests/'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -117,7 +117,7 @@ XportHostname=
|
||||
CreateHost=No
|
||||
NewHostTemplate=some_host_entry
|
||||
NewHostIpAddress=lo
|
||||
NewHostShortNameRegex=[^*]*
|
||||
NewHostShortNameRegex=(\w+)-(\w+)
|
||||
NewHostShortNameGroup=0
|
||||
|
||||
; If CreateService=Yes, a Service entry will be automatically created in the DB
|
||||
@@ -128,7 +128,7 @@ NewHostShortNameGroup=0
|
||||
; captured group from the regex specified in 'NewServiceNameGroup='.
|
||||
CreateService=No
|
||||
NewServiceTemplate=some_service_entry
|
||||
NewServiceNameRegex=[^*]*
|
||||
NewServiceNameRegex=(\w+)-(\w+)
|
||||
NewServiceNameGroup=0
|
||||
|
||||
[Logs]
|
||||
|
Reference in New Issue
Block a user