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

Version Path
puppet-5.3.5-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.5-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-5.3.4 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.4-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.4-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.4-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-4.10.10 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.10-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.10-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.10-universal-darwin lib/puppet/provider/nameservice/pw.rb
bolt-0.15.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
bolt-0.14.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
bolt-0.13.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
puppet-retrospec-1.6.1 vendor/pup410/lib/puppet/provider/nameservice/pw.rb
bolt-0.12.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
bolt-0.11.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
bolt-0.10.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
puppet-retrospec-1.6.0 vendor/pup410/lib/puppet/provider/nameservice/pw.rb
bolt-0.9.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb
bolt-0.8.0 vendored/puppet/lib/puppet/provider/nameservice/pw.rb