Method: Wright::Provider::Group#create
- Defined in:
- lib/wright/provider/group.rb
#create ⇒ void
This method returns an undefined value.
Creates or updates the group.
12 13 14 15 16 17 18 19 |
# File 'lib/wright/provider/group.rb', line 12 def create unless_uptodate(:create, "group already created: '#{group_name}'") do unless_dry_run("create group: '#{group_name}'") do ensure_group_exists set_members unless members_uptodate? end end end |