For some reason, Jinja claims that he cannot find the pattern that I specified in his Fabric task:
httpd_local = "/path/to/dir/conf/"
httpd_remote = "/etc/httpd/conf/httpd.conf"
with lcd(httpd_local):
upload_template(filename='/path/to/dir/conf/httpd.conf', destination=httpd_remote, context=context[hostname], use_jinja=True)
But every time I run, I get
jinja2.exceptions.TemplateNotFound: /path/to/dir/conf/httpd.conf
He definitely lives there, though. What's happening?
source
share