Sha256: 81df96ef9671a8f5548bcfe59c1dfe304b4245fe45682d0fb7b0d9af4f862d33

Contents?: true

Size: 432 Bytes

Versions: 144

Compression:

Stored size: 432 Bytes

Contents

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

Version data entries

144 entries across 144 versions & 1 rubygems

Version Path
puppet-7.5.0 lib/puppet/provider/nameservice/pw.rb
puppet-7.5.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.5.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.5.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-7.4.1 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.1-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.1-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.1-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.21.1 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.1-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.1-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.1-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-7.4.0 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-7.4.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.21.0 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.21.0-universal-darwin lib/puppet/provider/nameservice/pw.rb