blob: 55294958c4822f7589161043ebdce5dfc73f743a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# 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
|