# File lib/puppet/provider/group/pw.rb, line 17 17: def addcmd 18: cmd = [command(:pw), "groupadd", @resource[:name]] 19: if gid = @resource.should(:gid) 20: unless gid == :absent 21: cmd << flag(:gid) << gid 22: end 23: end 24: 25: # Apparently, contrary to the man page, groupadd does 26: # not accept -o. 27: #if @parent[:allowdupe] == :true 28: # cmd << "-o" 29: #end 30: 31: return cmd 32: end