Home Using template to set a variable in chef
Reply: 0

Using template to set a variable in chef

user395 Published in May 25, 2018, 8:59 am

new to chef and trying to pass a long list of variables to a batch file run. Have thought of writing a list of these in a template and calling the template in the recipe i.e:

options = template "optionstemplate"

How does one set a variable using hashes from a template of in chef? Please do let me know if this is possible of if there is another way to do this.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.321471 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO