Class Puppet::Provider::NameService::DirectoryService
In: lib/puppet/provider/nameservice/directoryservice.rb
Parent: Puppet::Provider::NameService

Methods

Attributes

ds_path  [W]  JJM: This allows us to pass information when calling
     Puppet::Type.type
 e.g. Puppet::Type.type(:user).provide :directoryservice, :ds_path => "Users"
 This is referenced in the get_ds_path class method
macosx_version_major  [W] 

Public Class methods

Public Instance methods

NBK: we override @parent.create as we need to execute a series of commands to create objects with dscl, rather than the single command nameservice.rb expects to be returned by addcmd. Thus we don‘t bother defining addcmd.

NBK: we override @parent.set as we need to execute a series of commands to deal with array values, rather than the single command nameservice.rb expects to be returned by modifycmd. Thus we don‘t bother defining modifycmd.

[Validate]