ssh, avahi, apache: Fix default value for setup arguments

To be consistent with all other apps.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa 2018-03-22 10:25:44 +05:30 committed by James Valleroy
parent c25bc9d812
commit 59c64e7872
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ is_essential = True
managed_packages = ['apache2', 'libapache2-mod-gnutls', 'libapache2-mod-php']
def setup(helper, old_version=False):
def setup(helper, old_version=None):
"""Configure the module."""
helper.install(managed_packages)
actions.superuser_run('apache', ['setup'])

View File

@ -64,7 +64,7 @@ def init():
is_external=False)
def setup(helper, old_version=False):
def setup(helper, old_version=None):
"""Install and configure the module."""
helper.install(managed_packages)
# Reload avahi-daemon now that first-run does not reboot. After performing

View File

@ -55,7 +55,7 @@ def init():
managed_services[0], name, ports=['ssh'], is_external=True)
def setup(helper, old_version=False):
def setup(helper, old_version=None):
"""Configure the module."""
actions.superuser_run('ssh', ['setup'])