From 558fd122b9fa096f78a771f6d355a8dfdbe68a14 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Wed, 23 Sep 2009 17:36:36 +0200
Subject: [PATCH] Set Vim textwidth in each documentation file

Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 NEWS               | 2 ++
 doc/admin.rst      | 2 ++
 doc/design-2.0.rst | 2 ++
 doc/design-2.1.rst | 2 ++
 doc/devnotes.rst   | 2 ++
 doc/glossary.rst   | 2 ++
 doc/hooks.rst      | 2 ++
 doc/iallocator.rst | 2 ++
 doc/index.rst      | 2 ++
 doc/install.rst    | 2 ++
 doc/locking.rst    | 2 ++
 doc/rapi.rst       | 2 ++
 doc/security.rst   | 2 ++
 13 files changed, 26 insertions(+)

diff --git a/NEWS b/NEWS
index 125606a01..20290a01d 100644
--- a/NEWS
+++ b/NEWS
@@ -389,3 +389,5 @@ Version 1.2b2
 - Some changes to the hooks infrastructure (especially the new
   post-configuration update hook)
 - Other small bugfixes
+
+.. vim: set textwidth=72 :
diff --git a/doc/admin.rst b/doc/admin.rst
index 6a4da182e..3c23ca4c3 100644
--- a/doc/admin.rst
+++ b/doc/admin.rst
@@ -351,3 +351,5 @@ the SSH changes and log directories:
 
 Otherwise, if you plan to re-create the cluster, you can just go ahead
 and rerun ``gnt-cluster init``.
+
+.. vim: set textwidth=72 :
diff --git a/doc/design-2.0.rst b/doc/design-2.0.rst
index ec1390f1b..effeb1d8e 100644
--- a/doc/design-2.0.rst
+++ b/doc/design-2.0.rst
@@ -1992,3 +1992,5 @@ option is::
   to set, string
 :$OPTION: cluster default option, string,
 :$VALUE: cluster default option value, string.
+
+.. vim: set textwidth=72 :
diff --git a/doc/design-2.1.rst b/doc/design-2.1.rst
index 4fa5bf1b1..db52d43c8 100644
--- a/doc/design-2.1.rst
+++ b/doc/design-2.1.rst
@@ -827,3 +827,5 @@ plugin needs to return:
 
 - how many instances can be allocated on the cluster with that specification
 - on which nodes these will be allocated (in order)
+
+.. vim: set textwidth=72 :
diff --git a/doc/devnotes.rst b/doc/devnotes.rst
index 8a81ab7ed..3da9401db 100644
--- a/doc/devnotes.rst
+++ b/doc/devnotes.rst
@@ -22,3 +22,5 @@ different python version)::
   ./autogen.sh && \
   ./configure PYTHON=python2.4 \
     --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var
+
+.. vim: set textwidth=72 :
diff --git a/doc/glossary.rst b/doc/glossary.rst
index 6bbf0a9d9..25a01ead1 100644
--- a/doc/glossary.rst
+++ b/doc/glossary.rst
@@ -28,3 +28,5 @@ Glossary
     and takes care of restarting failed instances, restarting secondary
     DRBD devices, etc. For more details, see the man page
     :manpage:`ganeti-watcher(8)`.
+
+.. vim: set textwidth=72 :
diff --git a/doc/hooks.rst b/doc/hooks.rst
index 7407499cb..03de7b9da 100644
--- a/doc/hooks.rst
+++ b/doc/hooks.rst
@@ -588,3 +588,5 @@ script::
   GANETI_OBJECT_TYPE=INSTANCE
   GANETI_OP_CODE=OP_INSTANCE_STARTUP
   GANETI_OP_TARGET=instance2.example.com
+
+.. vim: set textwidth=72 :
diff --git a/doc/iallocator.rst b/doc/iallocator.rst
index f30afc622..2e52068fe 100644
--- a/doc/iallocator.rst
+++ b/doc/iallocator.rst
@@ -434,3 +434,5 @@ Command line messages
   # gnt-instance add -t drbd -m 1400m --os-size 1g --swap-size 512m --iallocator dumb-allocator -o etch-image instance5
   Failure: prerequisites not met for this operation:
   Can't compute nodes using iallocator 'dumb-allocator': Can't find a suitable node for position 2 (already selected: node1.example.com)
+
+.. vim: set textwidth=72 :
diff --git a/doc/index.rst b/doc/index.rst
index feeb8cffb..e005bb92e 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -22,3 +22,5 @@ Contents:
    glossary.rst
 
 Also see the :ref:`search`.
+
+.. vim: set textwidth=72 :
diff --git a/doc/install.rst b/doc/install.rst
index 55ea37871..fbf227701 100644
--- a/doc/install.rst
+++ b/doc/install.rst
@@ -647,3 +647,5 @@ To failover an instance to its secondary node (only possible with
 
 For more instance and cluster administration details, see the
 *Ganeti administrator's guide*.
+
+.. vim: set textwidth=72 :
diff --git a/doc/locking.rst b/doc/locking.rst
index aa7a89251..358db91bf 100644
--- a/doc/locking.rst
+++ b/doc/locking.rst
@@ -67,3 +67,5 @@ running, it must be held for all job queue operations
 There's one special case for the node daemon running on the master node. If
 grabbing the lock in exclusive fails on startup, the code assumes all checks
 have been done by the process keeping the lock.
+
+.. vim: set textwidth=72 :
diff --git a/doc/rapi.rst b/doc/rapi.rst
index d2f7aeade..91d12bde5 100644
--- a/doc/rapi.rst
+++ b/doc/rapi.rst
@@ -743,3 +743,5 @@ It supports the following commands: ``GET``.
 
 Returns the remote API version. Ganeti 1.2 returned ``1`` and Ganeti
 2.0 returns ``2``.
+
+.. vim: set textwidth=72 :
diff --git a/doc/security.rst b/doc/security.rst
index e907c4402..b17eee3aa 100644
--- a/doc/security.rst
+++ b/doc/security.rst
@@ -98,3 +98,5 @@ default. It supports Basic authentication as per RFC2617.
 Paths for certificate, private key and CA files required for SSL/TLS will
 be set at source configure time. Symlinks or command line parameters may
 be used to use different files.
+
+.. vim: set textwidth=72 :
-- 
GitLab