lib/poolparty/resources/host.rb in auser-poolparty-1.1.7 vs lib/poolparty/resources/host.rb in auser-poolparty-1.2.0
- old
+ new
@@ -1,7 +1,28 @@
module PoolParty
module Resources
-
+=begin rdoc
+
+== Host
+
+The host parameter sets hosts on the instances. Setting this, every node will have the host.
+
+== Usage
+
+ has_host(:name => '...') do
+ # More options.
+ # This block is optional
+ end
+
+== Options
+
+* <tt>name</tt>The name of the instance
+* <tt>ip</tt> IP address of the instance for the host entry
+
+== Examples
+
+ has_host({:name => "other_machine", :ip => 192.168.0.101 })
+=end
class Host < Resource
default_options({
})
\ No newline at end of file