Allow kwargs for template context when deploying sudoers file
This commit is contained in:
parent
d6a11908ce
commit
6cb6ddaba7
|
@ -208,7 +208,7 @@ class Deployer(object):
|
|||
put(c, local_path, remote_path, **kwargs)
|
||||
|
||||
def sudoers(self, c, local_path, remote_path, owner='root:', mode='0440', **kwargs):
|
||||
self.deploy(c, local_path, '/tmp/sudoers', owner=owner, mode=mode, use_sudo=True)
|
||||
self.deploy(c, local_path, '/tmp/sudoers', owner=owner, mode=mode, use_sudo=True, **kwargs)
|
||||
c.sudo('mv /tmp/sudoers {}'.format(remote_path))
|
||||
|
||||
def apache_site(self, c, local_path, name, **kwargs):
|
||||
|
|
Loading…
Reference in a new issue