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-retrospec-1.8.0 vendor/pup410/lib/puppet/provider/nameservice/pw.rb
puppet-retrospec-1.7.0 vendor/pup410/lib/puppet/provider/nameservice/pw.rb
puppet-5.3.7 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.7-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.7-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.7-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-4.10.12 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.12-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.12-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.12-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-4.10.11 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.11-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.11-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-4.10.11-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-5.3.6 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.6-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.6-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.6-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-5.3.5 lib/puppet/provider/nameservice/pw.rb
puppet-5.3.5-x86-mingw32 lib/puppet/provider/nameservice/pw.rb