Fix hiera issues and allow trigger of 404 for static sites