Skip to content

Commit 1bed010

Browse files
committed
Merge pull request puppetlabs#512 from Jetroid/consistentreadme
Consistent Readme
2 parents da0e063 + ba345ab commit 1bed010

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.markdown

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,10 +532,10 @@ From a list of values, returns the first value that is not undefined or an empty
532532

533533
#### `prefix`
534534

535-
Applies a prefix to all elements in an array, or to the keys in a hash.
535+
Applies a prefix to all elements in an array, or to the keys in a hash.
536536
For example:
537537
* `prefix(['a','b','c'], 'p')` returns ['pa','pb','pc']
538-
* `prefix({'a'=>'b','b'=>'c','c'=>'d'}, 'p')` returns {'pa'=>'b','pb'=>'c','pc'=>'d'}.
538+
* `prefix({'a'=>'b','b'=>'c','c'=>'d'}, 'p')` returns {'pa'=>'b','pb'=>'c','pc'=>'d'}.
539539

540540
*Type*: rvalue.
541541

@@ -573,6 +573,8 @@ The second argument to this function is which type of hash to use. It will be co
573573

574574
The third argument to this function is the salt to use.
575575

576+
*Type*: rvalue.
577+
576578
**Note:** this uses the Puppet master's implementation of crypt(3). If your environment contains several different operating systems, ensure that they are compatible before using this function.
577579

578580
#### `range`
@@ -704,7 +706,7 @@ Returns the literal type when passed a value. Requires the new parser. Useful fo
704706

705707
#### `union`
706708

707-
Returns a union of two or more arrays, without duplicates. For example, `union(["a","b","c"],["b","c","d"])` returns ["a","b","c","d"].
709+
Returns a union of two or more arrays, without duplicates. For example, `union(["a","b","c"],["b","c","d"])` returns ["a","b","c","d"]. *Type*: rvalue.
708710

709711
#### `unique`
710712

0 commit comments

Comments
 (0)