Merge pull request #224 from asenci/fix_typo_in_repo_sls

Fix typo in repo.sls
This commit is contained in:
Imran Iqbal 2019-08-13 05:41:02 +01:00 committed by GitHub
commit 272a1ae4ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ include:
# Completely ignore non-RHEL based systems
# TODO: Add Debian and Suse systems.
# TODO: Allow user to specify MySQL version and alter yum repo file accordingly.
{% if grains['os_family'] == 'RedHat' and `osmajorrelease` in grains %}
{% if grains['os_family'] == 'RedHat' and 'osmajorrelease' in grains %}
{% if grains['osmajorrelease']|int == 5 %}
{% set rpm_source = "http://repo.mysql.com/mysql57-community-release-el5.rpm" %}
{% elif grains['osmajorrelease']|int == 6 %}