summaryrefslogtreecommitdiffstats
path: root/build/kvm4nfv-1st-boot.yaml
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2017-04-19 12:08:41 -0400
committerDan Radez <dradez@redhat.com>2017-05-10 09:26:31 -0400
commit95ee731525170e8dd4df813d5ca7e43b0ba2f4eb (patch)
treeb059ff902ed333e12048449c5103d0cc9f0a57ea /build/kvm4nfv-1st-boot.yaml
parentac3a86983e4c049a3115c7bd77eeacaeb19d0ca3 (diff)
Adding yamllint to build checks
- making formatting changes to yaml files to meet yamllint checks Change-Id: Id48a8446512943e908e61dc00bbe6c033af27775 Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build/kvm4nfv-1st-boot.yaml')
-rw-r--r--build/kvm4nfv-1st-boot.yaml11
1 files changed, 6 insertions, 5 deletions
diff --git a/build/kvm4nfv-1st-boot.yaml b/build/kvm4nfv-1st-boot.yaml
index 0dad3e3b..4c1aefc0 100644
--- a/build/kvm4nfv-1st-boot.yaml
+++ b/build/kvm4nfv-1st-boot.yaml
@@ -1,3 +1,4 @@
+---
heat_template_version: 2014-10-16
description: >
@@ -21,7 +22,7 @@ resources:
type: OS::Heat::MultipartMime
properties:
parts:
- - config: {get_resource: compute_kernel_args}
+ - config: {get_resource: compute_kernel_args}
# Verify the logs on /var/log/cloud-init.log on the overcloud node
compute_kernel_args:
@@ -36,8 +37,10 @@ resources:
if [[ -z $FORMAT ]] ; then
FORMAT="compute" ;
else
- # Assumption: only %index% and %stackname% are the variables in Host name format
- FORMAT=$(echo $FORMAT | sed 's/\%index\%//g' | sed 's/\%stackname\%//g') ;
+ # Assumption: only %index% and %stackname% are
+ # the variables in Host name format
+ FORMAT=$(echo $FORMAT | sed 's/\%index\%//g');
+ FORMAT=$(echo $FORMAT | sed 's/\%stackname\%//g');
fi
if [[ $(hostname) == *$FORMAT* ]] ; then
yum install -y /root/$KVMFORNFV_KERNEL_RPM
@@ -56,5 +59,3 @@ outputs:
# get_attr in the parent template instead.
OS::stack_id:
value: {get_resource: userdata}
-
-