Fix linting (both dib-lint and bashate)

- dib-lint: make sure every element has a README.rst file
- bashate: ignore E006 (line too long).

Change-Id: I53a334b05a30e98f1df19504cee616e3d145e9e3
This commit is contained in:
Luigi Toscano 2020-04-17 01:09:43 +02:00
parent 1e3f59084b
commit d0b1d24be4
8 changed files with 37 additions and 1 deletions

6
elements/java/README.rst Normal file
View File

@ -0,0 +1,6 @@
====
java
====
This element configures JAVA_HOME, PATH and the alternatives
for java and javac.

5
elements/nc/README.rst Normal file
View File

@ -0,0 +1,5 @@
==
nc
==
This element installs nc/netcat.

View File

@ -0,0 +1,5 @@
==========
nfs-shares
==========
This element installs the daemon for the kernel NFS server.

View File

@ -0,0 +1,5 @@
=======
openjdk
=======
This element installs the correct version of OpenJDK.

View File

@ -0,0 +1,5 @@
==============
sahara-version
==============
This element saves the version of a few components in a file.

View File

@ -0,0 +1,5 @@
=====
storm
=====
This element downloads and configures Apache Storm.

View File

@ -0,0 +1,5 @@
=========
zookeeper
=========
This element downloads and configures Zookeeper.

View File

@ -1,3 +1,3 @@
#!/bin/bash -xe
find ./ -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v
find ./ -not -wholename \*.tox/\* -and \( -name \*.sh -or -wholename \*.d/\* -and -not -name \*.md -and -not -name \*.rst -and -not -name \*.py \) -print0 | xargs -0 bashate -v -i E006