'Prints the of grubby that is installed on this machine'

def action_grubby_version_check(self):

    current_version = self.grubby.get_grubby_version()
    if (current_version is None):
        self.log.warn('Could    not    get    version    numbers    from    grubby')
        return (-1)
    required_version = self.opts.grubby_version_check.split('.', 1)
    required_version_major = required_version[0]
    if (len(required_version) == 1):
        req_version = (int(required_version_major), 0)
    else:
        req_version = (int(required_version_major), int(required_version[1]))
    if (current_version >= req_version):
        return 0
    else:
        return (-1)
