CHips L MINI SHELL

CHips L pro

Current Path : /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/nameservice/
Upload File :
Current File : //opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/provider/nameservice/pw.rb

require '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


Copyright 2K16 - 2K18 Indonesian Hacker Rulez