1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
Subject: Correct typos detected by lintian
From: Alex Mestiashvili <mailatgoogl@gmail.com>
Forwarded: https://github.com/RexOps/Rex/issues/969
--- rex.orig/lib/Rex/Commands/File.pm
+++ rex/lib/Rex/Commands/File.pm
@@ -723,7 +723,7 @@
# catch an error
if($@) {
- print "An error occured. $@.\n";
+ print "An error occurred. $@.\n";
}
# work with the filehandle
@@ -780,7 +780,7 @@
# catch an error
if($@) {
- print "An error occured. $@.\n";
+ print "An error occurred. $@.\n";
}
# work with the filehandle
--- rex.orig/lib/Rex/Commands/Partition.pm
+++ rex/lib/Rex/Commands/Partition.pm
@@ -150,7 +150,7 @@
=item vg
-Creates an LVM PV, then creates the specifed LVM VG (or extends it, if the VG already exists). Needs C<ondisk>.
+Creates an LVM PV, then creates the specified LVM VG (or extends it, if the VG already exists). Needs C<ondisk>.
=back
--- rex.orig/lib/Rex/Commands/Virtualization.pm
+++ rex/lib/Rex/Commands/Virtualization.pm
@@ -88,7 +88,7 @@
=head2 Creating a Virtual Machine
-Create a (VirtualBox) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size beeing a file on disk.
+Create a (VirtualBox) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size being a file on disk.
With a cdrom as an iso image and a natted network. The bootorder is set to "dvd".
vm create => "vm01",
@@ -107,7 +107,7 @@
boot => "dvd";
-Create a (KVM) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size beeing a file on disk.
+Create a (KVM) VM named "vm01" with 512 MB ram and 1 cpu. One harddrive, 10 GB in size being a file on disk.
With a cdrom as an iso image and a bridged network on the bridge virbr0. The Bootorder is set to "cdrom".
vm create => "vm01",
--- rex.orig/lib/Rex/Commands/Cloud.pm
+++ rex/lib/Rex/Commands/Cloud.pm
@@ -381,7 +381,7 @@
=head2 cloud_volume($action , $data)
-This function controlls all aspects of a cloud volume.
+This function controls all aspects of a cloud volume.
=cut
|