Sha256: d89fac9aa4972a9641c4d037482505d4658e3bceeca54b237bb4cba53f98a353
Contents?: true
Size: 449 Bytes
Versions: 16
Compression:
Stored size: 449 Bytes
Contents
require 'puppet/provider/nameservice/objectadd' class Puppet::Provider::NameService class PW < ObjectAdd def deletecmd [command(:pw), "#{@resource.class.name.to_s}del", @resource[:name]] end def modifycmd(param, value) cmd = [ command(:pw), "#{@resource.class.name.to_s}mod", @resource[:name], flag(param), value ] return cmd end end end
Version data entries
16 entries across 16 versions & 1 rubygems