Browse Source

Add basis support for Suse os_family: system.grub and system.repo

pull/222/head
Robin Schneider 4 years ago
parent
commit
274d97aeb2
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      linux/system/grub.sls
  2. +1
    -1
      linux/system/repo.sls

+ 1
- 1
linux/system/grub.sls View File

- mode: 755 - mode: 755
- makedirs: True - makedirs: True


{%- if grains['os_family'] == 'RedHat' %}
{%- if grains['os_family'] in ['RedHat','Suse'] %}
{%- set boot_grub_cfg = '/boot/grub2/grub.cfg' %} {%- set boot_grub_cfg = '/boot/grub2/grub.cfg' %}
/etc/default/grub: /etc/default/grub:
file.append: file.append:

+ 1
- 1
linux/system/repo.sls View File

{%- endif %} {%- endif %}
{%- endif %} {%- endif %}


{%- if grains.os_family == "RedHat" %}
{%- if grains.os_family in ["RedHat", "Suse"] %}


{%- if repo.get('enabled', True) %} {%- if repo.get('enabled', True) %}
{%- if repo.get('proxy', {}).get('enabled', False) %} {%- if repo.get('proxy', {}).get('enabled', False) %}

Loading…
Cancel
Save