summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorAdrien Thebo <git@somethingsinistral.net>2013-09-11 11:13:28 -0700
committerAdrien Thebo <git@somethingsinistral.net>2013-09-11 11:13:28 -0700
commit4687b25470159527e482bad22a9f82f3bd2370b6 (patch)
treef7c310a9fb4f76d894ce635fbf3b67aee020df7d /README.markdown
parentf4db73672ede1476e4f6ede6bbc974292c2476e9 (diff)
parent34944a78f9c152ca39ab045908b3029208fbc03f (diff)
downloadpuppet-stdlib-4687b25470159527e482bad22a9f82f3bd2370b6.tar.gz
puppet-stdlib-4687b25470159527e482bad22a9f82f3bd2370b6.tar.bz2
Merge pull request #175 from floatingatoll/patch-1
(maint) fix RST formatting of has_interface_with code examples
Diffstat (limited to 'README.markdown')
-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