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