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-3.3.0 lib/puppet/provider/nameservice/pw.rb
puppet-3.3.0.rc3 lib/puppet/provider/nameservice/pw.rb
puppet-3.3.0.rc2 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.4 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.3 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.3.rc1 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.2 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.1 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.1.rc1 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.0.rc2 lib/puppet/provider/nameservice/pw.rb
puppet-3.2.0.rc1 lib/puppet/provider/nameservice/pw.rb