lib/poolparty/resources/host.rb in auser-poolparty-1.2.2 vs lib/poolparty/resources/host.rb in auser-poolparty-1.2.3
- old
+ new
@@ -23,13 +23,14 @@
has_host({:name => "other_machine", :ip => 192.168.0.101 })
=end
class Host < Resource
default_options({
+ :ip => "127.0.0.1"
})
def aka(i=nil)
- i ? options[:alias] = i : options[:alias]
+ i ? dsl_options[:alias] = i : dsl_options[:alias]
end
end
end
\ No newline at end of file