Kaynağa Gözat

Merge branch 'fixing-current-issues-with-pipeline' into add-journal-settings

pull/210/head
Marek Knappe 5 yıl önce
ebeveyn
işleme
c45f3ca876
4 değiştirilmiş dosya ile 13 ekleme ve 5 silme
  1. +5
    -3
      .travis.yml
  2. +2
    -0
      linux/system/auth/duo.sls
  3. +2
    -2
      linux/system/journal.sls
  4. +4
    -0
      linux/system/systemd.sls

+ 5
- 3
.travis.yml Dosyayı Görüntüle

- bundle install - bundle install


env: env:
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=network
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=system
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=network - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=network
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=system - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2017.7 SUITE=system
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=network - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=network
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=system - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=system
- PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=duo - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2018.3 SUITE=duo
- PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=network
# - PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=system
# - PLATFORM=netmanagers/salt-2019.2-py3:ubuntu-18.04 SUITE=duo
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=network # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=network
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=system # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2017.7 SUITE=system
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=network # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=network
# - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=system # - PLATFORM=epcim/salt:saltstack-ubuntu-bionic-salt-2018.3 SUITE=system

# - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=system
# - PLATFORM=epcim/salt:saltstack-ubuntu-xenial-salt-2016.3 SUITE=network
before_script: before_script:
- set -o pipefail - set -o pipefail
- make test | tail - make test | tail

+ 2
- 0
linux/system/auth/duo.sls Dosyayı Görüntüle

package_duo: package_duo:
pkg.installed: pkg.installed:
- name: duo-unix - name: duo-unix
- skip_verify: True



login_duo: login_duo:
file.managed: file.managed:

+ 2
- 2
linux/system/journal.sls Dosyayı Görüntüle



{%- if system.systemd.journal is defined %} {%- if system.systemd.journal is defined %}


linux_systemd_system_config:
linux_systemd_journal_config:
file.managed: file.managed:
- name: /etc/systemd/journald.conf.d/90-salt.conf - name: /etc/systemd/journald.conf.d/90-salt.conf
- source: salt://linux/files/journal.conf - source: salt://linux/files/journal.conf
- template: jinja - template: jinja
- makedirs: True - makedirs: True
- defaults: - defaults:
settings: {{ system.systemd.journal }}
settings: {{ system.systemd.journal|tojson }}
- watch_in: - watch_in:
- module: linux_journal_systemd_reload - module: linux_journal_systemd_reload



+ 4
- 0
linux/system/systemd.sls Dosyayı Görüntüle

{%- from "linux/map.jinja" import system with context %} {%- from "linux/map.jinja" import system with context %}
{%- if system.enabled and grains.get('init', None) == 'systemd' %} {%- if system.enabled and grains.get('init', None) == 'systemd' %}
{%- if system.systemd.journal is defined %}
include:
- linux.system.journal
{%- endif %}


{%- if system.systemd.system is defined %} {%- if system.systemd.system is defined %}
linux_systemd_system_config: linux_systemd_system_config:

Yükleniyor…
İptal
Kaydet