HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: //usr/lib/ruby/site_ruby/1.8/puppet/provider/computer/computer.rb
require 'puppet/provider/nameservice/directoryservice'

Puppet::Type.type(:computer).provide :directoryservice, :parent => Puppet::Provider::NameService::DirectoryService do
  desc "Computer object management using DirectoryService on OS X.
  Note that these are distinctly different kinds of objects to 'hosts',
  as they require a MAC address and can have all sorts of policy attached to
  them.

  This provider only manages Computer objects in the local directory service
  domain, not in remote directories.

  If you wish to manage /etc/hosts on Mac OS X, then simply use the host
  type as per other platforms."

  confine :operatingsystem => :darwin
  defaultfor :operatingsystem => :darwin

  # hurray for abstraction. The nameservice directoryservice provider can
  # handle everything we need. super.
end