Browse Source

fix(centos): enable powertools repo for libidn-devel on centos 8

tags/v1.0.0
Benjamin Neff 4 years ago
parent
commit
95e2336d81
No account linked to committer's email address
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      diaspora/install.sls

+ 10
- 0
diaspora/install.sls View File

@@ -4,6 +4,16 @@
include:
- diaspora.config

{%- if grains.os == 'CentOS' and grains.osmajorrelease >= 8 %}
diaspora_centos_enable_powertools_repo:
file.replace:
- name: /etc/yum.repos.d/CentOS-PowerTools.repo
- pattern: '^enabled=[0,1]'
- repl: 'enabled=1'
- require_in:
- pkg: diaspora_dependencies
{%- endif %}

diaspora_dependencies:
pkg.installed:
- pkgs: {{ diaspora.dependencies|json }}

Loading…
Cancel
Save