Skip to content

Commit 4687b25

Browse files
committed
Merge pull request puppetlabs#175 from floatingatoll/patch-1
(maint) fix RST formatting of has_interface_with code examples
2 parents f4db736 + 34944a7 commit 4687b25

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.markdown

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,16 @@ Returns boolean based on kind and value:
405405
* ipaddress
406406
* network
407407

408-
has_interface_with("macaddress", "x:x:x:x:x:x")
409-
has_interface_with("ipaddress", "127.0.0.1") => true
408+
*Examples:*
409+
410+
has_interface_with("macaddress", "x:x:x:x:x:x")
411+
has_interface_with("ipaddress", "127.0.0.1") => true
412+
410413
etc.
411414

412415
If no "kind" is given, then the presence of the interface is checked:
413-
has_interface_with("lo") => true
416+
417+
has_interface_with("lo") => true
414418

415419

416420
- *Type*: rvalue

0 commit comments

Comments
 (0)