I have a config file in augeas using a custom lens that outputs the data as follows.
/files/opt/../server.conf/target[1] = "general"
/files/opt/../server.conf/target[1]/serverName = "XXX"
/files/opt/../server.conf/target[1]/guid = "XXX0XXX"
/files/opt/../server.conf/target[2] = "sslConfig"
/files/opt/../server.conf/target[2]/sslKeysfilePassword = "$1$XXXXX"
This works well - some of the target names contain colons, etc so I need to use the target[x] format.
What is the correct ins syntax to create a new section in my INI using this syntax?