From 6cb6ddaba7f0fb068de0e57c95930f744b532477 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Wed, 16 Sep 2020 15:48:34 -0500 Subject: [PATCH] Allow kwargs for template context when deploying sudoers file --- rattail_fabric2/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rattail_fabric2/core.py b/rattail_fabric2/core.py index 17205f9..8f8236d 100644 --- a/rattail_fabric2/core.py +++ b/rattail_fabric2/core.py @@ -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):