hook_enable() (and hook_disable()) should be in frontnode.install, not the module file.