'Export each path in export_paths to each node in nodes via NFS
nodes - list of nodes to export each path to
export_paths - list of paths on this remote host to export to each node
Example:
# export /home and /opt/sge6 to each node in nodes
$ node.start_nfs_server()
$ node.export_fs_to_nodes(nodes=[node1,node2],
export_paths=[\'/home\', \'/opt/sge6\'])'

def export_fs_to_nodes(self, nodes, export_paths):

    log.debug('Cleaning    up    potentially    stale    NFS    entries')
    self.stop_exporting_fs_to_nodes(nodes, paths=export_paths)
    log.info(('Configuring    NFS    exports    path(s):\n%s' % '    '.join(export_paths)))
    nfs_export_settings = '(async,no_root_squash,no_subtree_check,rw)'
    etc_exports = self.ssh.remote_file('/etc/exports', 'r')
    contents = etc_exports.read()
    etc_exports.close()
    etc_exports = self.ssh.remote_file('/etc/exports', 'a')
    for node in nodes:
        for path in export_paths:
            export_line = '    '.join([path, ((node.alias + nfs_export_settings) + '\n')])
            if (export_line not in contents):
                etc_exports.write(export_line)
    etc_exports.close()
    self.ssh.execute('exportfs    -fra')
