Use ODS_USER/ODS_GROUP in opendnssec_conf.template

https://fedorahosted.org/freeipa/ticket/5343

Reviewed-By: David Kupka <dkupka@redhat.com>
This commit is contained in:
Timo Aaltonen 2016-03-18 12:25:20 +02:00 committed by Martin Basti
parent 2a2d63669d
commit f761051411
2 changed files with 4 additions and 2 deletions

View File

@ -28,8 +28,8 @@
<Enforcer>
<Privileges>
<User>ods</User>
<Group>ods</Group>
<User>$ODS_USER</User>
<Group>$ODS_GROUP</Group>
</Privileges>
<Datastore><SQLite>$KASP_DB</SQLite></Datastore>

View File

@ -74,6 +74,8 @@ class OpenDNSSECInstance(service.Service):
'SOFTHSM_LIB': paths.LIBSOFTHSM2_SO,
'TOKEN_LABEL': dnskeysyncinstance.softhsm_token_label,
'KASP_DB': paths.OPENDNSSEC_KASP_DB,
'ODS_USER': constants.ODS_USER,
'ODS_GROUP': constants.ODS_GROUP,
}
self.kasp_file_dict = {}
self.extra_config = [KEYMASTER]