Provisioning template location

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

1 Like

They are stored in the database so I would recommend using templates or git_templates for an external workflow allowing easier editing the templates.

1 Like

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.

1 Like

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.

1 Like