Sha256: d89fac9aa4972a9641c4d037482505d4658e3bceeca54b237bb4cba53f98a353

Contents?: true

Size: 449 Bytes

Versions: 16

Compression:

Stored size: 449 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),
            value
        ]
        return cmd
    end
end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
puppet-0.25.5 lib/puppet/provider/nameservice/pw.rb
puppet-0.25.4 lib/puppet/provider/nameservice/pw.rb
puppet-0.25.3 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.9 lib/puppet/provider/nameservice/pw.rb
puppet-0.25.2 lib/puppet/provider/nameservice/pw.rb
puppet-0.25.1 lib/puppet/provider/nameservice/pw.rb
puppet-0.25.0 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.0 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.3 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.1 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.2 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.4 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.5 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.6 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.7 lib/puppet/provider/nameservice/pw.rb
puppet-0.24.8 lib/puppet/provider/nameservice/pw.rb