]> gitweb.fluxo.info Git - puppet-stdlib.git/commitdiff
(maint) fix RST formatting of has_interface_with code examples
authorfloatingatoll <rsoderberg@gmail.com>
Wed, 4 Sep 2013 17:26:14 +0000 (10:26 -0700)
committerRichard Soderberg <rsoderberg@gmail.com>
Wed, 4 Sep 2013 17:30:38 +0000 (10:30 -0700)
README.markdown

index a176d889f0e3ae22859ba7576613a64d8eb188e8..f1d281cc1c5b03e3ca3b93a37da74d9ebb71126b 100644 (file)
@@ -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