Преглед изворни кода

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…
Откажи
Сачувај