NAME

  Unix::Sysadmin::Config - Config class for Unix::Sysadmin::


SYNOPSIS

 use Unix::Sysadmin::Config;
 my $cf = Unix::Sysadmin::Config->new();
 my $cfinfo=$cf->somemethod();

or

 use Unix::Sysadmin::Config;
 my $cfinfo = Unix::Sysadmin::Config->somemethod();


DESCRIPTION

This class encapsulates configuration information for the Unix::Sysadmin:: framework.

Usually not called directly by user code, but invoked indirectly by components of Unix::Sysadmin like this:

 use Unix::Sysadmin::Config;
 my $cf = Unix::Sysadmin::Config->new();

which returns Unix::Sysadmin::Config object, then,

 my $cfinfo=$cf->somemethod();

where somemethod() is a ::Config method documented below. Since the whole class stores its info as class data, there is effectively no difference between the code above and this:

 use Unix::Sysadmin::Config;
 my $cfinfo = Unix::Sysadmin::Config->somemethod();

except that the second example avoids a call and is thus faster.


Constructor

 new()
      Returns an empty Unix::Sysadmin::Config object.


Properties

canonical_master()

Returns the name of the host from which canonical passwd, group and automounter information is obtained

configdir()

  Returns the path to the Unix::Sysadmin:: configuration directory.

scratchdir()

  Returns the path to the directory where Unix::Sysadmin:: creates temporary files.


SEE ALSO

Man(3) pages (programmer's docs):

the Unix::Sysadmin::Host manpage, the Unix::Sysadmin::User manpage, the Unix::Sysadmin::Automount manpage, the Unix::Sysadmin::Group manpage, the Unix::Sysadmin::Netgroup manpage, the Unix::Sysadmin::List manpage, the Unix::Sysadmin::Cmds manpage, the Unix::Sysadmin::Files manpage the Unix::Sysadmin::Utility manpage the Unix::Sysadmin::Config manpage, the Unix::Sysadmin::Scoped manpage

Man(4) pages (file formats):

the Unix::Sysadmin::Host.list manpage, the Unix::Sysadmin::User.list manpage, the Unix::Sysadmin::Automount.list manpage, the Unix::Sysadmin::Group.list manpage, the Unix::Sysadmin::Netgroup.list manpage

Man(1m) pages (manager's docs):

the Unix::Sysadmin manpage, the Unix::Sysadmin::Setup manpage the usasetup manpage

the usatest manpage

the usabackup manpage

the usaupdate manpage

the usapush manpage


AUTHOR

Howard Owen <hbo@egbok.com> =cut