'Update a node\'s configuration to match the public storage profile.'

def configure(self, node, ifrom=None, block=None, callback=None, timeout=None):

    config = self.xmpp['xep_0004'].Form()
    config['type'] = 'submit'
    for (field, value) in self.profile.items():
        config.add_field(var=field, value=value)
    return self.xmpp['xep_0060'].set_node_config(None, node, config, ifrom=ifrom, block=block, callback=callback, timeout=timeout)
