summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-06-27 15:17:20 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-27 15:17:20 +0200
commit4d841a8a4a0911bb1d4279ea77475445ac14bcba (patch)
treea7310f28fbfa148af8fe8da61d79241b65533c2d
parentc2ce177f4d7ff7b86d4a4f748c85eb6e4fc883ed (diff)
downloadsmtpd-conf-4d841a8a4a0911bb1d4279ea77475445ac14bcba.tar.xz
Add deploy task
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
-rw-r--r--fabfile.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fabfile.py b/fabfile.py
index 78ff494..8791fa6 100644
--- a/fabfile.py
+++ b/fabfile.py
@@ -12,6 +12,12 @@ def checksum_match(local_file, remote_file):
@task
+def deploy():
+ upload_users()
+ upload_conf()
+
+
+@task
def upload_conf():
from fabric.colors import green