fixes remove_instance error

* Initialize object attribute to None so a later if check that depends
on that attributes succeeds. The attribute is related to unifying the
command line args to the *_instance command set.
* Added regression test case
This commit is contained in:
Chris Meyers
2015-11-06 07:11:55 -05:00
parent d8aff34f63
commit dbbfde0d25
3 changed files with 42 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ class BaseCommandInstance(BaseCommand):
def __init__(self):
super(BaseCommandInstance, self).__init__()
self.enforce_primary_role = False
self.enforce_roles = False
self.enforce_hostname_set = False
self.enforce_unique_find = False