~hopem/charms/trusty/keystone/charm-helpers-sync-precise-ipv6-haproxy

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/core/templating.py

  • Committer: james.page at ubuntu
  • Date: 2014-12-15 09:27:47 UTC
  • Revision ID: james.page@ubuntu.com-20141215092747-rr2ltvdjzc848kra
[trivial] Resync charm-helpers

Show diffs side-by-side

added added

removed removed

Lines of Context:
48
48
                    level=hookenv.ERROR)
49
49
        raise e
50
50
    content = template.render(context)
51
 
    host.mkdir(os.path.dirname(target))
 
51
    host.mkdir(os.path.dirname(target), owner, group)
52
52
    host.write_file(target, content, owner, group, perms)