Enable YAML Coala linting, fix problems 17/53817/1
authorDaniel Farrell <dfarrell@redhat.com>
Fri, 24 Mar 2017 20:55:11 +0000 (16:55 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 24 Mar 2017 20:55:11 +0000 (16:55 -0400)
Change-Id: I7bc73817311879dfc2bf83f0bb8915094cadc7d0
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
.coafile
tutorials/cluster-nodes/docker-compose.yml

index 7b9d4b67ae0cd21973d7284113cef75fb6681129..3b2c0c021948c888498e52a8ae50d8d31e81e40e 100644 (file)
--- a/.coafile
+++ b/.coafile
@@ -1,5 +1,6 @@
 [Default]
-ignore = .tox/**, .gitignore, .gitreview, .gitmodules, **/provisioning/roles/**
+ignore = .tox/**, .gitignore, .gitreview, .gitmodules, **/provisioning/roles/**, \
+         node_modules/**, ansible/ansible-opendaylight/**, docs/conf.py
 use_spaces = True
 
 [DOCS]
@@ -28,7 +29,6 @@ bears = ShellCheckBear
 [python]
 bears = PyUnusedCodeBear
 files = ./**/*.py
-ignore = docs/conf.py, .*/**
 default_actions = PyUnusedCodeBear: ApplyPatchAction
 
 [autopep8]
@@ -39,4 +39,4 @@ default_actions = PEP8Bear: ApplyPatchAction
 [yaml]
 bears = YAMLLintBear
 yamllint_config = .yamllint
-#files = ./**/*yaml, ./**/*.yml
+files = ./**/*.yaml, ./**/*.yml
index cff91f84ac48084479647be379abaca3aa20c43b..1797e674dd9e5ed61c2b3758bf9e4a3d5485ed2f 100644 (file)
@@ -5,6 +5,7 @@
 # terms of the Eclipse Public License v1.0 which accompanies this distribution,
 # and is available at http://www.eclipse.org/legal/epl-v10.html
 ##############################################################################
+---
 
 version: '2'
 
@@ -19,10 +20,10 @@ services:
     tty: true
     networks:
       default:
-          ipv4_address: 192.168.50.15${NODE_NUMBER}
+        ipv4_address: 192.168.50.15${NODE_NUMBER}
     command: nohup /root/scripts/setup_odl.sh
 
 networks:
-    default:
-        external:
-            name: odl-cluster-network
+  default:
+    external:
+      name: odl-cluster-network