Quellcode durchsuchen

refactor(salt-lint): fix violations

```
[213] SaltStack recommends using cmd.run together with onchanges, rather than cmd.wait
apt/dist_upgrade.sls:2
  cmd.wait:
[213] SaltStack recommends using cmd.run together with onchanges, rather than cmd.wait
apt/update.sls:2
  cmd.wait:
[213] SaltStack recommends using cmd.run together with onchanges, rather than cmd.wait
apt/upgrade.sls:2
  cmd.wait:
[214] SLS file with a period in the name (besides the suffix period) can not be referenced
test/salt/pillar/preferences.pillar.sls:1
[214] SLS file with a period in the name (besides the suffix period) can not be referenced
test/salt/pillar/repositories.pillar.sls:1
[214] SLS file with a period in the name (besides the suffix period) can not be referenced
test/salt/pillar/unattended.pillar.sls:1
```
tags/v0.10.4
Imran Iqbal vor 2 Jahren
Ursprung
Commit
7cc688cf15
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
7 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. +2
    -2
      apt/dist_upgrade.sls
  2. +2
    -2
      apt/update.sls
  3. +2
    -2
      apt/upgrade.sls
  4. +3
    -3
      kitchen.yml
  5. +0
    -0
      test/salt/pillar/preferences.sls
  6. +0
    -0
      test/salt/pillar/repositories.sls
  7. +0
    -0
      test/salt/pillar/unattended.sls

+ 2
- 2
apt/dist_upgrade.sls Datei anzeigen

@@ -1,5 +1,5 @@
apt-get -y dist-upgrade:
cmd.wait:
- watch:
cmd.run:
- onchanges:
- file: /etc/apt/sources.list
- file: /etc/apt/sources.list.d

+ 2
- 2
apt/update.sls Datei anzeigen

@@ -1,5 +1,5 @@
apt-get -y update:
cmd.wait:
- watch:
cmd.run:
- onchanges:
- file: /etc/apt/sources.list
- file: /etc/apt/sources.list.d

+ 2
- 2
apt/upgrade.sls Datei anzeigen

@@ -1,5 +1,5 @@
apt-get -y upgrade:
cmd.wait:
- watch:
cmd.run:
- onchanges:
- file: /etc/apt/sources.list
- file: /etc/apt/sources.list.d

+ 3
- 3
kitchen.yml Datei anzeigen

@@ -144,7 +144,7 @@ suites:
'*':
- apt
pillars_from_files:
apt.sls: test/salt/pillar/repositories.pillar.sls
apt.sls: test/salt/pillar/repositories.sls
verifier:
inspec_tests:
- path: test/integration/repositories
@@ -161,7 +161,7 @@ suites:
'*':
- apt
pillars_from_files:
apt.sls: test/salt/pillar/preferences.pillar.sls
apt.sls: test/salt/pillar/preferences.sls
verifier:
inspec_tests:
- path: test/integration/preferences
@@ -178,7 +178,7 @@ suites:
'*':
- apt
pillars_from_files:
apt.sls: test/salt/pillar/unattended.pillar.sls
apt.sls: test/salt/pillar/unattended.sls
verifier:
inspec_tests:
- path: test/integration/unattended

test/salt/pillar/preferences.pillar.sls → test/salt/pillar/preferences.sls Datei anzeigen


test/salt/pillar/repositories.pillar.sls → test/salt/pillar/repositories.sls Datei anzeigen


test/salt/pillar/unattended.pillar.sls → test/salt/pillar/unattended.sls Datei anzeigen


Laden…
Abbrechen
Speichern