@salt.utils.decorators.path.which('gzip')
def gzip(sourcefile, template=None, runas=None, options=None):
    '''
    Uses the gzip command to create gzip files