Server Automation Practitioners Forum
Showing results for 
Search instead for 
Do you mean 

CML - Having quotes be inside a looping replace tag within a partial template

Occasional Contributor

CML - Having quotes be inside a looping replace tag within a partial template

so within the file /etc/rc.config.d/netdaemons there is a line that indicates the following:

 

NTPDATE_SERVER=hostname1

 

but you can have

NTPDATE_SERVER="hostname1 hostname2 hostname3"

 

I have setup the template to be a partial template

 

@1]

 

NTPDATE_SERVER=@*103]<options here>@@.iprange@@[103@

 

 

What I need to know is, how do I ensure that quotes are surround multiple entries that we put within the template. i.e. when I enter more than one value, how do I surround the entire entry with double quotes?