I have the following json file:
{
"config": {
"cua" : {
"user_dn" : ["ou=Users,dc=hpcv,dc=sara,dc=nl"]
},
"ka" : {
"user_dn" : ["ou=Users,dc=ka,dc=surfsara,dc=nl"]
}
}
In cfengine deference works. The json merging is done in the sara_data
bundle:
{{{
reports:
"$(sara_data.openldap[config][cua][user_dn])";
in json data not:
"auth_ldap": {
"auth.ldap.dnpattern": "$(sara_data.openldap[config][cua][user_dn])"
},
Is this a limitation of data_expand?
CFengine version used 3.10.1
regards
--
---
Bas van der Vlies
| Operations, Support & Development | SURFsara | Science Park 140 | 1098
XG Amsterdam
| T
+31 (0) 20 800 1300 |
bas.van...@surfsara.nl |
www.surfsara.nl |