Commit d67c9858 by Brian Coca

removed become_pass as it should not be used

parent 24fd4faa
...@@ -30,7 +30,6 @@ class Become: ...@@ -30,7 +30,6 @@ class Become:
_become = FieldAttribute(isa='bool') _become = FieldAttribute(isa='bool')
_become_method = FieldAttribute(isa='string') _become_method = FieldAttribute(isa='string')
_become_user = FieldAttribute(isa='string') _become_user = FieldAttribute(isa='string')
_become_pass = FieldAttribute(isa='string')
def __init__(self): def __init__(self):
return super(Become, self).__init__() return super(Become, self).__init__()
...@@ -128,14 +127,3 @@ class Become: ...@@ -128,14 +127,3 @@ class Become:
return self._get_parent_attribute('become_user') return self._get_parent_attribute('become_user')
else: else:
return self._attributes['become_user'] return self._attributes['become_user']
def _get_attr_become_password(self):
'''
Override for the 'become_password' getattr fetcher, used from Base.
'''
if hasattr(self, '_get_parent_attribute'):
return self._get_parent_attribute('become_password')
else:
return self._attributes['become_password']
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment