Just wanted to know the location of provisioning templates please? Is it a database? I would really like to automate editing one every couple of months to replace information we apply to new built hosts
thanks
Just wanted to know the location of provisioning templates please? Is it a database? I would really like to automate editing one every couple of months to replace information we apply to new built hosts
thanks
They are stored in the database so I would recommend using templates or git_templates for an external workflow allowing easier editing the templates.
Out of curiosity, could you benefit from using host parameters (or the like) in the templates so you can update the params instead of the templates themselves?
The templates have access to a variety of custom facts that you can set through perhaps easier means than maintaining different versions of templates.
And not to forget on many places it is possible to add by creating a snippet with the prepared name. So I seldom create custom templates at the customer and typically use the existing ones.