# File lib/puppet/provider/nameservice.rb, line 95
 95:         def section
 96:             unless defined? @resource_type
 97:                 raise Puppet::DevError,
 98:                     "Cannot determine Etc section without a resource type"
 99: 
100:             end
101: 
102:             if @resource_type.name == :group
103:                 "gr"
104:             else
105:                 "pw"
106:             end
107:         end