Equivalent of chef patterns in Glu

Templates in Chef are great for creating configuration files - you have a template for creating files, and you can pass the parameter at several levels - by default, based on the roles, node.

Is there something similar for glu deployment automation platform ?

The only thing I could find was this pier setting example . If you look at the end of the script, you will see several multi-line lines that are used as file contents for specific files. This might work, but it seems a bit confusing, and I was hoping for a better way.

+3
source share
1 answer

glu .

, , shell.saveContent() api, @xxx@. "", , glu script URL- shell.cat(url) api.

, glu script groovy, , groovy: http://groovy.codehaus.org/Groovy+Templates

+1

All Articles