Method: Chef::Resource::Group#initialize

Defined in:
lib/chef/resource/group.rb

#initialize(name, collection = nil, node = nil) ⇒ Group

Returns a new instance of Group.



23
24
25
26
27
28
29
30
31
32
# File 'lib/chef/resource/group.rb', line 23

def initialize(name, collection=nil, node=nil)
  super(name, collection, node)
  @resource_name = :group
  @group_name = name
  @gid = nil
  @members = []
  @action = :create
  @append = false
  @allowed_actions.push(:create, :remove, :modify, :manage)
end