Permalink
Browse files

updated readme.

  • Loading branch information...
1 parent 20c571e commit d14629ab816a3f3177a014fd1150790403ff7a12 @specialunderwear committed Dec 3, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 README.rst
View
@@ -92,6 +92,8 @@ facts.
servers_with_facts('hostname=/^new$|^old$/') // returns servers with hostname either new or old
servers_with_facts('uptime>10', 'hostname=/lala/') // returns servers with uptime over 10 and hostname matches lala
+- server_with_role: Return one server object with a certain role:
+ server_with_role('haproxy', { hostname => 'localhost', ipaddress => '127.0.0.1'}) // returns one haproxy server, or localhost server if nothing found.
.. _cloudstack:

0 comments on commit d14629a

Please sign in to comment.