Parse a YAML specification of a configuration data into this
        object.

def parse_yaml(self, y):
        '''Parse a YAML specification of a configuration data into this
        object.

        '''
        self.name = y['name']
        if 'data' in y:
            self.data = y['data']
        else:
            self.data = ''
        return self