mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2026-08-02 13:36:47 +02:00
Update the testing matrix to cover most distro+salt+python combinations
Use py3 for latest salt version Use Python 2 on old distros Update Gemfile Updated centos-6 run_command, as it does not use systemd Added tests to verify correct package versions for all cases tested
This commit is contained in:
@@ -46,6 +46,8 @@ RedHat:
|
||||
gitfs_provider: pygit2
|
||||
|
||||
Suse:
|
||||
pkgrepo: 'http://repo.saltstack.com/opensuse/openSUSE_Leap_{{ osrelease }}/'
|
||||
key_url: 'http://repo.saltstack.com/opensuse/openSUSE_Leap_{{ osrelease }}/repodata/repomd.xml.key'
|
||||
pygit2: python-pygit2
|
||||
pyinotify: python-pyinotify
|
||||
gitfs:
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
{% from "salt/map.jinja" import salt_settings with context %}
|
||||
|
||||
{%- if grains['os']|lower not in ('amazon', 'fedora', 'suse',) %}
|
||||
saltstack-pkgrepo:
|
||||
pkgrepo.managed:
|
||||
- humanname: SaltStack repo for RHEL/CentOS $releasever
|
||||
@@ -7,3 +8,4 @@ saltstack-pkgrepo:
|
||||
- enabled: 1
|
||||
- gpgcheck: 1
|
||||
- gpgkey: {{ salt_settings.key_url }}
|
||||
{% endif %}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
drop-saltstack-pkgrepo:
|
||||
pkgrepo.absent:
|
||||
- name: saltstack-pkgrepo
|
||||
@@ -0,0 +1,10 @@
|
||||
{% from "salt/map.jinja" import salt_settings with context %}
|
||||
|
||||
saltstack-pkgrepo:
|
||||
pkgrepo.managed:
|
||||
- name: systemsmanagement_saltstack_products
|
||||
- humanname: SaltStack repo for Opensuse 42.3
|
||||
- baseurl: {{ salt_settings.pkgrepo }}
|
||||
- enabled: 1
|
||||
- gpgcheck: 1
|
||||
- gpgkey: {{ salt_settings.key_url }}
|
||||
Reference in New Issue
Block a user