Weidong Shao 486c596323 Replace cookbooks for IceHouse release
Change-Id: Ibb6bdd3ed7795b86f773f9cb6ce1dfffb9b79faf
2014-08-07 08:36:02 +00:00

16 lines
441 B
Ruby

actions :associate, :disassociate, :allocate
state_attrs :aws_access_key,
:ip,
:timeout
attribute :aws_access_key, :kind_of => String
attribute :aws_secret_access_key, :kind_of => String
attribute :ip, :kind_of => String, :name_attribute => true
attribute :timeout, :default => 3*60 # 3 mins, nil or 0 for no timeout
def initialize(*args)
super
@action = :associate
end