ó ¸sWc@s@dZddlmZddlmZdefd„ƒYZdS(sFiles classes used by nscfg.iÿÿÿÿ(tprint_functioni(tNssbasetFilescBs_eZdZdZd Zd ZdZd ZdZ d„Z d„Z d„Z d„Z d„ZRS( svLocal files name service class. Represents the configuration of local files. See nsswitch.conf(4) for details.ssvc:/system/name-service/switcht file_pathst nss_filescCstj|ƒdS(N(Rt__init__(tself((scommon/files.pyR,scCs|jdƒ|jS(s=Export from SMF. Do nothing. no legacy configuration files.ssuccessful export.(t print_msgtSUCCESS(R((scommon/files.pytexport_from_smf/s cCs|jdƒ|jS(s;Import to SMF. Do nothing. no legacy configuration files.ssuccessful import.(RR(R((scommon/files.pyt import_to_smf4s cCs|jdƒ|jS(s=Unconfigure SMF. Do nothing. no legacy configuration files.ssuccessful unconfigure.(RR(R((scommon/files.pyt unconfig_smf9s cCstS(s9Is SMF populated with this service? Yes. (no SMF config)(tTrue(R((scommon/files.pyt is_populated>sN(t__name__t __module__t__doc__tSERVICEtNonetLEGACYt LEGACYDIRtDEFPGtDEFPROPtBACKENDRR R R R (((scommon/files.pyRs    N(Rt __future__RtnssbaseRR(((scommon/files.pyts