Add logic for deploying simple backup app

This commit is contained in:
Lance Edgar 2018-07-05 12:40:36 -05:00
parent 86429d4f06
commit 2a6b25215f
4 changed files with 121 additions and 0 deletions

View file

@ -184,6 +184,10 @@ class Deployer(object):
from rattail_fabric.apache import deploy_conf
deploy_conf(self, local_path, name, **kwargs)
def backup_app(self, envname='backup', *args, **kwargs):
from rattail_fabric.backup import deploy_backup_app
deploy_backup_app(self, envname, *args, **kwargs)
def certbot_account(self, uuid, localdir='certbot/account'):
"""
Deploy files to establish a certbot account on target server