Skip to content

Commit

Permalink
salt-lint salt/docs directory (#267)
Browse files Browse the repository at this point in the history
invocation: `tox -e lint $(find salt/docs -type f -name '*.sls'| xargs)`
  • Loading branch information
cegerhardson committed Jul 28, 2022
1 parent e8c729b commit a73da76
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions salt/docs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,21 @@ docsbuild-quick:
file.directory:
- user: docsbuild
- group: docsbuild
- mode: 755
- mode: "0755"

/etc/logrotate.d/docsbuild:
file.managed:
- source: salt://docs/config/docsbuild.logrotate
- user: root
- group: root
- mode: 644
- mode: "0644"

/etc/nginx/sites.d/docs-backend.conf:
file.managed:
- source: salt://docs/config/nginx.docs-backend.conf
- user: root
- group: root
- mode: 644
- mode: "0644"
- require:
- file: /etc/nginx/sites.d/
- file: /etc/nginx/fastly_params
Expand All @@ -124,6 +124,6 @@ docsbuild-quick:
port: 9000
- user: root
- group: root
- mode: 644
- mode: "0644"
- require:
- pkg: consul-pkgs

0 comments on commit a73da76

Please sign in to comment.