File tree Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Expand file tree Collapse file tree 10 files changed +11
-11
lines changed Original file line number Diff line number Diff line change 6
6
default_stages : [commit]
7
7
repos :
8
8
- repo : https://github.com/rubocop-hq/rubocop
9
- rev : v1.29 .1
9
+ rev : v1.50 .1
10
10
hooks :
11
11
- id : rubocop
12
12
name : Check Ruby files with rubocop
13
13
args : [--debug]
14
14
always_run : true
15
15
pass_filenames : false
16
16
- repo : https://github.com/shellcheck-py/shellcheck-py
17
- rev : v0.8 .0.4
17
+ rev : v0.9 .0.2
18
18
hooks :
19
19
- id : shellcheck
20
20
name : Check shell scripts with shellcheck
21
21
args : [--severity=error]
22
22
files : ^.*\.(sh|bash|ksh)$
23
23
types : []
24
24
- repo : https://github.com/adrienverge/yamllint
25
- rev : v1.26.3
25
+ rev : v1.30.0
26
26
hooks :
27
27
- id : yamllint
28
28
name : Check YAML syntax with yamllint
29
29
args : [--strict, '.']
30
30
always_run : true
31
31
pass_filenames : false
32
32
- repo : https://github.com/warpnet/salt-lint
33
- rev : v0.8.0
33
+ rev : v0.9.2
34
34
hooks :
35
35
- id : salt-lint
36
36
name : Check Salt files using salt-lint
37
37
files : ^.*\.(sls|jinja|j2|tmpl|tst)$
38
38
- repo : https://github.com/pre-commit/pre-commit-hooks
39
- rev : v4.2 .0
39
+ rev : v4.4 .0
40
40
hooks :
41
41
- id : end-of-file-fixer
42
42
- id : trailing-whitespace
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ exclude_paths:
7
7
rules :
8
8
206 : # Jinja variables should have spaces before and after: '{{ var_name }}'
9
9
ignore : |
10
- salt/exim/init .sls
10
+ salt/exim.sls
11
11
skip_list :
12
12
# Using `salt-lint` for linting other files as well, such as Jinja macros/templates
13
13
- 205 # Use ".sls" as a Salt State file extension
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ if File.file?(bundle_binstub)
19
19
load ( bundle_binstub )
20
20
else
21
21
abort (
22
- 'Your `bin/bundle` was not generated by Bundler, ' \
23
- 'so this binstub cannot run. Replace `bin/bundle` by running ' \
22
+ 'Your `bin/bundle` was not generated by Bundler, ' \
23
+ 'so this binstub cannot run. Replace `bin/bundle` by running ' \
24
24
'`bundle binstubs bundler --force`, then run this command again.'
25
25
)
26
26
end
File renamed without changes.
Original file line number Diff line number Diff line change 6
6
- mode: 700
7
7
- template: jinja
8
8
- context:
9
- backup_dir: {{ pillar[' backup_dir' ] }}
9
+ backup_dir: {{ pillar[' backup_dir' ] }}
10
10
11
11
/root/backup_site.sh :
12
12
file.managed :
16
16
- mode: 700
17
17
- template: jinja
18
18
- context:
19
- backup_dir: {{ pillar[' backup_dir' ] }}
20
- backup_site_list: {{ pillar[' backup_sites' ] | join(' ' ) }}
19
+ backup_dir: {{ pillar[' backup_dir' ] }}
20
+ backup_site_list: {{ pillar[' backup_sites' ] | join(' ' ) }}
21
21
22
22
# backup-mysql:
23
23
# cron.present:
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments