From: floatingatoll Date: Wed, 4 Sep 2013 17:26:14 +0000 (-0700) Subject: (maint) fix RST formatting of has_interface_with code examples X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=34944a78f9c152ca39ab045908b3029208fbc03f;p=puppet-stdlib.git (maint) fix RST formatting of has_interface_with code examples --- 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