Преглед на файлове

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 преди 2 години
родител
ревизия
7cc688cf15
No account linked to committer's email address
променени са 7 файла, в които са добавени 9 реда и са изтрити 9 реда
  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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл

@@ -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 Целия файл


test/salt/pillar/repositories.pillar.sls → test/salt/pillar/repositories.sls Целия файл


test/salt/pillar/unattended.pillar.sls → test/salt/pillar/unattended.sls Целия файл


Loading…
Отказ
Запис