summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfloatingatoll <rsoderberg@gmail.com>2013-09-04 10:26:14 -0700
committerRichard Soderberg <rsoderberg@gmail.com>2013-09-04 10:30:38 -0700
commit34944a78f9c152ca39ab045908b3029208fbc03f (patch)
treefdb20c4fe08c4bc0f02d45dcd1cc012af50f0a7c
parent806430224ad0da860be3761ab83f1e574b64fc60 (diff)
downloadpuppet-stdlib-34944a78f9c152ca39ab045908b3029208fbc03f.tar.gz
puppet-stdlib-34944a78f9c152ca39ab045908b3029208fbc03f.tar.bz2
(maint) fix RST formatting of has_interface_with code examples
-rw-r--r--README.markdown10
1 files changed, 7 insertions, 3 deletions
diff --git a/README.markdown b/README.markdown
index a176d88..f1d281c 100644
--- a/README.markdown
+++ b/README.markdown
@@ -405,12 +405,16 @@ Returns boolean based on kind and value:
* ipaddress
* network
-has_interface_with("macaddress", "x:x:x:x:x:x")
-has_interface_with("ipaddress", "127.0.0.1") => true
+*Examples:*
+
+ has_interface_with("macaddress", "x:x:x:x:x:x")
+ has_interface_with("ipaddress", "127.0.0.1") => true
+
etc.
If no "kind" is given, then the presence of the interface is checked:
-has_interface_with("lo") => true
+
+ has_interface_with("lo") => true
- *Type*: rvalue