ó 'KXc@sCddlmZddlmZddlmZeZd„ZdS(iÿÿÿÿ(t templater(tutil(t PER_ALWAYSc Cs*tj|dtƒ}tj|ddgƒr¸tj||ƒ\}}|s\|jdƒdS|jd|jjƒ}|s”t d|jjƒ‚nt j |di|d6|d 6ƒnn|d krtj||ƒ\}}|só|jdƒdS|j d ƒ|jj ||ƒn|j d |ƒdS( Ntmanage_etc_hoststaddonsttemplates<Option 'manage_etc_hosts' was set, but no hostname was foundshosts.%ss.No hosts template could be found for distro %ss /etc/hoststhostnametfqdnt localhosts Managing localhost in /etc/hostssXConfiguration option 'manage_etc_hosts' is not set, not managing /etc/hosts in module %s(Rtget_cfg_option_strtFalsettranslate_booltget_hostname_fqdntwarntget_template_filenametdistrotosfamilyt RuntimeErrorRtrender_to_filetdebugtupdate_etc_hosts( tnametcfgtcloudtlogt_argst manage_hostsRRt tpl_fn_name((sQ/opt/freeware/lib/python2.7/site-packages/cloudinit/config/cc_update_etc_hosts.pythandles,       N(t cloudinitRRtcloudinit.settingsRt frequencyR(((sQ/opt/freeware/lib/python2.7/site-packages/cloudinit/config/cc_update_etc_hosts.pyts