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-6.29.0 lib/puppet/provider/nameservice/pw.rb
puppet-6.29.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.29.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.29.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.28.0 lib/puppet/provider/nameservice/pw.rb
puppet-6.28.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.28.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.28.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.27.0 lib/puppet/provider/nameservice/pw.rb
puppet-6.27.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.27.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.27.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.26.0 lib/puppet/provider/nameservice/pw.rb
puppet-6.26.0-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.26.0-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.26.0-universal-darwin lib/puppet/provider/nameservice/pw.rb
puppet-6.25.1 lib/puppet/provider/nameservice/pw.rb
puppet-6.25.1-x86-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.25.1-x64-mingw32 lib/puppet/provider/nameservice/pw.rb
puppet-6.25.1-universal-darwin lib/puppet/provider/nameservice/pw.rb