From 7842e740becc743f35b840d6c906f74f800dd349 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 27 Jun 2015 15:23:47 +0200 Subject: Use arrow in config-changed messaeg MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- fabfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index 8791fa6..cfaa33e 100644 --- a/fabfile.py +++ b/fabfile.py @@ -24,7 +24,7 @@ def upload_conf(): local_file = '{}/smtpd.conf'.format(env.host) if not checksum_match(local_file, '/etc/smtpd/smtpd.conf'): - print(green('Config changed, uploading new file...')) + print(green('==> Config changed, uploading new file...')) put(local_path=local_file, remote_path='/etc/smtpd/smtpd.conf', use_sudo=True) sudo('systemctl restart smtpd.service') @@ -37,7 +37,7 @@ def upload_users(): local_file = 'common/users' if not checksum_match(local_file, '/etc/smtpd/users'): - print(green('Users changed, uploading new file...')) + print(green('==> Users changed, uploading new file...')) put(local_path=local_file, remote_path='/etc/smtpd/users', use_sudo=True) sudo('smtpctl update table users') -- cgit v1.2.3-70-g09d2