From ff8a684abb229ce0160440291abb0e92604c809e Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 12 Jan 2018 19:45:21 +0100 Subject: [PDF] Fix yamllint issues in installer adapters Although current YAML files in Pharos are all valid according to yamllint, the resulting YAMLs after PDF/IDF + IA interpolations still have a lot of violations, which need to be addressed. PDF changes: - bii/pod1: + fix typo in disks_A reference; IDF changes: - replace empty strings with `~` keyword (will be expanded to 'None'); IA (installer adapter) changes: - apex: + add missing document start; - compass4nfv: + too few spaces before comment; + missing starting space in comment; + replace '\t' with spaces; - daisy: + None; - fuel: + check conf.idf is defined first (fix parse for PODs without IDF); + move document start outside conf.idf condition - joid: + None; This is not an exhaustive change, some yamllint issues are still there but require either refactoring IAs or changing the PDF/IDF files in a way that needs the respective maintainer's input. Change-Id: I26743e265217e892b6a94de96a016c295ea24fb5 Signed-off-by: Alexandru Avadanii --- labs/bii/pod1.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'labs/bii') diff --git a/labs/bii/pod1.yaml b/labs/bii/pod1.yaml index 29d9a4e2..159401b7 100644 --- a/labs/bii/pod1.yaml +++ b/labs/bii/pod1.yaml @@ -103,8 +103,8 @@ nodes: cpu_cflags: haswell # add values based on CFLAGS in GCC cores: 8 # physical cores, not including hyper-threads memory: 32G - disks: &disk_A # disk list - - name: 'disk1' # first disk + disks: &disks_A # disk list + - name: 'disk1' # first disk disk_capacity: 128G # volume disk_type: ssd # several disk types possible disk_interface: sas # several interface types possible -- cgit 1.2.3-korg