]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
vmlist.py: change from 'defaults' to a 'global' section
authorDan Mick <dan.mick@redhat.com>
Tue, 27 Oct 2015 05:51:57 +0000 (22:51 -0700)
committerDan Mick <dan.mick@redhat.com>
Mon, 2 Nov 2015 23:58:27 +0000 (15:58 -0800)
commita882620e0192c79980006b630828ac0fa0e6c170
treeb76d64416afe31655a3cdd51476d26947555f311
parent853d140265d57d83bb68e9191b7254eb8490bcb6
vmlist.py: change from 'defaults' to a 'global' section

defaults adds the entries to every section, which is wasteful.  Not
thrilled with managing my own defaults, but it seems easy enough
to make [global] section and prepopulate it (in preparation for more
sections).  Also allow 'get' to return None for nonexistent key.

Signed-off-by: Dan Mick <dan.mick@redhat.com>
tools/vmlist.py