Sha256: 68223304cb1c6827df871be992c197b9f45e34bcea5aaab4282d1115fae077bb

Contents?: true

Size: 665 Bytes

Versions: 2

Compression:

Stored size: 665 Bytes

Contents

# Manage NetInfo POSIX objects.  Probably only used on OS X, but I suppose
# it could be used elsewhere.
require 'puppet/provider/nameservice/netinfo'

Puppet::Type.type(:host).provide :netinfo, :parent => Puppet::Provider::NameService::NetInfo,
    :netinfodir => "machines" do
    desc "Host management in NetInfo.  This provider is highly experimental and is known
        not to work currently."
    commands :nireport => "nireport", :niutil => "niutil"
    commands :mountcmd => "mount", :umount => "umount", :df => "df"

    options :ip, :key => "ip_address"

    defaultfor :operatingsystem => :darwin
end

# $Id: netinfo.rb 2714 2007-07-19 18:12:20Z luke $

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
puppet-0.23.1 lib/puppet/provider/host/netinfo.rb
puppet-0.23.2 lib/puppet/provider/host/netinfo.rb