Refactor the scope entering system a little bit
Enable event log for puppetresources