From 996f14e8bb457d4b3bb13390954b48780cf18469 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Tue, 14 Sep 2010 14:24:12 +1000 Subject: Documentation updates for Markdown conversion --- lib/puppet/parser/functions/versioncmp.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/puppet/parser/functions') diff --git a/lib/puppet/parser/functions/versioncmp.rb b/lib/puppet/parser/functions/versioncmp.rb index 94ba3886f..3dbfb5dc4 100644 --- a/lib/puppet/parser/functions/versioncmp.rb +++ b/lib/puppet/parser/functions/versioncmp.rb @@ -14,9 +14,9 @@ Where a and b are arbitrary version strings This functions returns a number: -* > 0 if version a is greater than version b -* == 0 if both version are equals -* < 0 if version a is less than version b +* Greate than 0 if version a is greater than version b +* Equal to 0 if both version are equals +* Less than 0 if version a is less than version b Example: -- cgit From c3cb57c73865255469947a480d34b32cdbfdba2a Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 16 Sep 2010 08:48:03 +1000 Subject: Fixed versioncmp function typo --- lib/puppet/parser/functions/versioncmp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser/functions') diff --git a/lib/puppet/parser/functions/versioncmp.rb b/lib/puppet/parser/functions/versioncmp.rb index 3dbfb5dc4..6091e0923 100644 --- a/lib/puppet/parser/functions/versioncmp.rb +++ b/lib/puppet/parser/functions/versioncmp.rb @@ -14,7 +14,7 @@ Where a and b are arbitrary version strings This functions returns a number: -* Greate than 0 if version a is greater than version b +* Greater than 0 if version a is greater than version b * Equal to 0 if both version are equals * Less than 0 if version a is less than version b -- cgit From 1b6094d20d0ba1170c1eb4226acc5a7f6dc5c78c Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 1 Oct 2010 10:38:49 +1000 Subject: Fixed documentation typo --- lib/puppet/parser/functions/extlookup.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet/parser/functions') diff --git a/lib/puppet/parser/functions/extlookup.rb b/lib/puppet/parser/functions/extlookup.rb index 63d49e563..bc55410b9 100644 --- a/lib/puppet/parser/functions/extlookup.rb +++ b/lib/puppet/parser/functions/extlookup.rb @@ -52,7 +52,7 @@ the exact same outcome: $snmp_contact = extlookup(\"snmp_contact\") -The obove code shows some other features, you can use any fact or variable that +The above code shows some other features, you can use any fact or variable that is in scope by simply using %{varname} in your data files, you can return arrays by just having multiple values in the csv after the initial variable name. -- cgit