Ñò i'dWc@sNddkiZddkZdeifd„ƒYZdefd„ƒYZdS(iÿÿÿÿNt InitializeSMFcBs/eZdZd„Zed„Zed„ZRS(sYICT checkpoint sets up an smf repository and corrects the smf system profile. cCs#tt|ƒi|ƒd|_dS(sµInitializes the class Parameters: -name - this arg is required by the AbstractCheckpoint and is not used by the checkpoint. N(tsuperRt__init__tNonetsys_profile_dict(tselftname((s../initialize_smf.pyR#sc Cs'|iidƒ|pnxk|iiƒD]V\}}tii|ƒoti|ƒn|iid||ƒti||ƒq'Wn|iidƒ|p‡tiitii |i t i ƒƒo[y&titii |i t i ƒƒWqt j o"}tdt i |fƒ‚qXq#ndS(s' Parameters: - the dry_run keyword paramater. The default value is False. If set to True, the log message describes the checkpoint tasks. Returns: - Nothing On failure, errors raised are managed by the engine. s5ICT current task: Creating symlinks to system profiles$Creating a symlink between %s and %ss1ICT current task: Removing /etc/svc/repository.dbsCould not remove %s: %sN(tloggertdebugRtitemstostpathtexiststunlinktsymlinktjoint target_dirtICTtREPO_DBt BaseExceptiont RuntimeError(Rtdry_runtkeytvalueterr((s../initialize_smf.pyt_execute.s"    (&cCs„|iƒhtii|itiƒti6tii|itiƒti 6tii|iti ƒti 6|_ |i d|ƒdS(sî The AbstractCheckpoint class requires this method in sub-classes. Initializing SMF involves: - Creating symlinks to the correct system profile files Parameters: - the dry_run keyword paramater. The default value is False. If set to True, the log message describes the checkpoint tasks. Returns: - Nothing On failure, errors raised are managed by the engine. RN(t parse_docR R RRRt GENERIC_XMLtGEN_LTD_NET_XMLt NAME_SVC_XMLt NS_DNS_XMLtINETD_SVCS_XMLt INETD_XMLRR(RR((s../initialize_smf.pytexecuteLs  %(t__name__t __module__t__doc__RtFalseRR!(((s../initialize_smf.pyRs tInitializeSMFZonecBs#eZdZd„Zed„ZRS(sYICT checkpoint sets up an smf repository and corrects the smf system profile. cCstt|ƒi|ƒdS(sµInitializes the class Parameters: -name - this arg is required by the AbstractCheckpoint and is not used by the checkpoint. N(RR&R(RR((s../initialize_smf.pyRnscCs„|iƒhtii|itiƒti6tii|itiƒti 6tii|iti ƒti 6|_ |i d|ƒdS(sù The AbstractCheckpoint class requires this method in sub-classes. Initializing SMF for a zone involves: - Creating symlinks to the correct system profile files Parameters: - the dry_run keyword paramater. The default value is False. If set to True, the log message describes the checkpoint tasks. Returns: - Nothing On failure, errors raised are managed by the engine. RN(RR R RRRRRRt NS_FILES_XMLRR RR(RR((s../initialize_smf.pyR!vs  %(R"R#R$RR%R!(((s../initialize_smf.pyR&js (tsolaris_install.icttictRR t ICTBaseClassRR&(((s../initialize_smf.pyts K