Troubleshoot ============ jinja2.exceptions.TemplateNotFound ---------------------------------- Do not use ``{% include %}``. Instead of including shared content in a service-specific file, rewrite the configuration so that the shared content is the template file, and the service-specific content is Pillar data. Jinja caching issues -------------------- `Imported `__ files are sometimes cached. To check whether this is the case, delete the imported file (e.g. ``lib.sls``) and run the Salt function. If there is no change, the file is cached. To clear the cache: .. code-block:: bash rm -rf /var/tmp/.*_salt