'Lookup the current timezone name in `/etc/default/init`. If anything else
is requested, or if the TZ field is not set we fail.'

def get(self, key, phase):

    if (key == 'name'):
        try:
            f = open('/etc/default/init', 'r')
            for line in f:
                m = re.match('^TZ=(.*)$', line.strip())
                if m:
                    return m.groups()[0]
        except:
            self.module.fail_json(msg='Failed    to    read    /etc/default/init')
    else:
        self.module.fail_json(msg='{0}    is    not    a    supported    option    on    target    platform'.format(key))
