Sha256: 3f77110804502f1d4cc1b0d8417b998f6990172ed809bc436732b4013a87f518
Contents?: true
Size: 402 Bytes
Versions: 311
Compression:
Stored size: 402 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), munge(param, value) ] cmd end end end
Version data entries
311 entries across 311 versions & 3 rubygems