From: Evan Broder Date: Tue, 4 Nov 2008 09:58:03 +0000 (-0500) Subject: Correct the transformation script for lvm.conf X-Git-Tag: 0.0.2^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-cluster-config.git/commitdiff_plain/a5aa1d47f1d50cc6fd02c3a2c992f5a943d02a44 Correct the transformation script for lvm.conf svn path=/trunk/packages/invirt-cluster-config/; revision=1532 --- diff --git a/debian/changelog b/debian/changelog index 135a1d3..e559e4c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,9 @@ invirt-cluster-config (0.0.2) unstable; urgency=low * Be sure to start clvm as well as cman + * Correct the transformation script for lvm.conf - -- Evan Broder Tue, 04 Nov 2008 04:27:53 -0500 + -- Evan Broder Tue, 04 Nov 2008 04:39:45 -0500 invirt-cluster-config (0.0.1) unstable; urgency=low diff --git a/debian/transform_lvm.conf.invirt b/debian/transform_lvm.conf.invirt index faa7592..33f9214 100755 --- a/debian/transform_lvm.conf.invirt +++ b/debian/transform_lvm.conf.invirt @@ -1,6 +1,6 @@ #!/usr/bin/perl -0p -s/^( *locking_type = )1.*$/$1 = 2/m or die; -s/^( *fallback_to_clustered_locking = ).*$/$1 = 0/m or die; -s/^( *fallback_to_local_locking = ).*$/$1 = 0/m or die; +s/^( *locking_type) = 1.*$/$1 = 2/m or die; +s/^( *fallback_to_clustered_locking) = .*$/$1 = 0/m or die; +s/^( *fallback_to_local_locking) = .*$/$1 = 0/m or die; s/^( *)# *(locking_library.*)$/$1$2/m or die; s/^( *)# *(library_dir.*)$/$1$2/m or die;