more carriage returns, no

This commit is contained in:
jbondpdx 2015-12-14 11:57:01 -08:00
parent d00bccc96f
commit 802e3adf16

View file

@ -91,8 +91,7 @@ Example:
line => '%sudonopw ALL=(ALL) NOPASSWD: ALL', line => '%sudonopw ALL=(ALL) NOPASSWD: ALL',
} }
In this example, Puppet ensures that both of the specified lines are In this example, Puppet ensures that both of the specified lines are contained in the file `/etc/sudoers`.
contained in the file `/etc/sudoers`.
Match Example: Match Example:
@ -103,8 +102,7 @@ Match Example:
match => '^export\ HTTP_PROXY\=', match => '^export\ HTTP_PROXY\=',
} }
In this code example, `match` looks for a line beginning with export In this code example, `match` looks for a line beginning with export followed by HTTP_PROXY and replaces it with the value in line.
followed by HTTP_PROXY and replaces it with the value in line.
Match Example With `ensure => absent`: Match Example With `ensure => absent`:
@ -120,8 +118,7 @@ In this code example, `match` looks for a line beginning with export
followed by HTTP_PROXY and delete it. If multiple lines match, an followed by HTTP_PROXY and delete it. If multiple lines match, an
error will be raised unless the `multiple => true` parameter is set. error will be raised unless the `multiple => true` parameter is set.
**Autorequires:** If Puppet is managing the file that contains the line **Autorequires:** If Puppet is managing the file that contains the line being managed, the `file_line` resource autorequires that file.
being managed, the `file_line` resource autorequires that file.
##### Parameters ##### Parameters
@ -169,10 +166,7 @@ Converts a boolean to a number. Converts values:
#### `bool2str` #### `bool2str`
Converts a boolean to a string using optionally supplied arguments. The optional Converts a boolean to a string using optionally supplied arguments. The optional second and third arguments represent what true and false are converted to respectively. If only one argument is given, it is converted from a boolean to a string containing 'true' or 'false'.
second and third arguments represent what true and false are converted to
respectively. If only one argument is given, it is converted from a boolean
to a string containing 'true' or 'false'.
*Examples:* *Examples:*
~~~ ~~~