def validate(self): valid = validation.is_url(self._data['uri']) \ and not validation.is_empty(self._data['base']) \ and not validation.is_empty(self._data['basegroup']) \ and not validation.is_empty(self._data['binddn']) \ and not validation.is_empty(self._data['bindpw']) return valid
def validate(self): valid = self._data['run'] == False or ( validation.is_url(self._data['uri_gcc']) and self._data['gcc_username'] != '' and self._data['gcc_nodename'] != '' and self._data['gcc_link'] != None and self._data['gcc_pwd_user'] != '' and self._data['ou_username'] != None) return valid
def validate(self): valid = validation.is_url( self._data['chef_server_uri'] ) and self._data['chef_validation'] != '' and self._data[ 'chef_link'] != None and self._data['chef_link_existing'] != None return valid
def validate(self): valid = validation.is_url(self._data['uri']) \ and not validation.is_empty(self._data['base']) return valid
def validate(self): valid = self._data['run'] == False or (validation.is_url(self._data['uri_gcc']) and self._data['gcc_username'] != '' and self._data['gcc_nodename'] != '' and self._data['gcc_link'] != None and self._data['gcc_pwd_user'] != '' and self._data['ou_username'] != None) return valid
def validate(self): valid = validation.is_url(self._data['chef_server_url']) \ and validation.is_url(self._data['chef_validation_url']) \ and validation.is_qname(self._data['chef_default_role']) return valid
def validate(self): valid = validation.is_url(self._data['chef_server_uri']) and self._data['chef_validation'] != '' and self._data['chef_link'] != None and self._data['chef_link_existing'] != None return valid