Salt Zustand states/default.sls

Aus CEPHALIX/CRANIX
Version vom 1. Mai 2020, 18:09 Uhr von Admin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „<pre> /root/.curlrc: file.managed: - template: jinja - source: salt://files/default/.curlrc - mode: 600 /usr/sbin/oss_get_quota: file: - ab…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
/root/.curlrc:
  file.managed:
    - template: jinja
    - source: salt://files/default/.curlrc
    - mode: 600
/usr/sbin/oss_get_quota:
  file:
    - absent
/etc/sssd/sssd.conf:
  file.managed:
    - source: salt://files/default/sssd.conf
    - mode: 600
/etc/profile.local:
  file.managed:
    - source: salt://files/default/profile.local
    - template: jinja
default-files:
  file.recurse:
    - name: /
    - source: salt://files/default/ROOT
salt_server_id_crc:
  file.replace:
    - name: /etc/salt/minion
    - pattern: '^server_id_use_crc\s*:.*'
    - repl: 'server_id_use_crc: Adler32'
    - append_if_not_found: True
default-salt-rpms:
  pkg.installed:
    - skip_verify: True
    - sources:
      - python2-salt: salt://files/default/RPMS/python2-salt-2018.3.2-lp150.138.2.x86_64.rpm
      - salt: salt://files/default/RPMS/salt-2018.3.2-lp150.138.2.x86_64.rpm
      - python3-salt: salt://files/default/RPMS/python3-salt-2018.3.2-lp150.138.2.x86_64.rpm
      - salt-minion: salt://files/default/RPMS/salt-minion-2018.3.2-lp150.138.2.x86_64.rpm
    - refresh: False
default-oss-client:
  service.dead:
    - name: oss-client
    - enable: False
  file.absent:
    - name: /usr/sbin/stop-oss-client