summaryrefslogtreecommitdiffstats
path: root/conf/unit/generate-unit-conf
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2019-05-15 13:55:45 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2019-05-23 16:06:43 +0200
commit401188a731f39ce464db3a31d810be962bf21e1d (patch)
tree2888803a659f32ecca9edd8fbeac3d4c5865408c /conf/unit/generate-unit-conf
parent316b19fc3f5d56d0b0bbec6c44eee837d7d74056 (diff)
Use definition of afm_prefix
The prefix of the URN for AGL features should be settable. Bug-AGL: SPEC-2436 Change-Id: I49e9634ebc6a280c28caa6e6764e543a7e78253c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'conf/unit/generate-unit-conf')
-rw-r--r--conf/unit/generate-unit-conf/afm-unit2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf/unit/generate-unit-conf/afm-unit b/conf/unit/generate-unit-conf/afm-unit
index 7a47f08..47ba469 100644
--- a/conf/unit/generate-unit-conf/afm-unit
+++ b/conf/unit/generate-unit-conf/afm-unit
@@ -26,7 +26,7 @@ define( `MUSTACH_IF_NOT', `{{^$1}}pushdef(`ELSE',`{{/$1}}{{#$1}}')pushdef(`ENDIF
-----------------------------------------------------------------------
--
-define( `PERM', `urn:AGL:permission:$1')
+define( `PERM', `@afm_prefix@permission:$1')
define( `REQPERM', `required-permission.PERM($1)')
define( `ON_PERM', `MUSTACH_ON(REQPERM($1),$2,$3)')