                                 :artifact-id "puppetserver"})
          upgrade-error     (core/construct-404-error-message jruby-service product-name)
          update-server-url (get-in config [:product :update-server-url])]
-
      (version-check/check-for-updates! {:product-name product-name} update-server-url)
 
      (retrieve-ca-cert! localcacert)

   (core/validate-memory-requirements!)
   (let [path              (get-route this :master-routes)
         config            (get-config)
         certname          (get-in config [:puppet-server :certname])
         localcacert       (get-in config [:puppet-server :localcacert])
         hostcrl           (get-in config [:puppet-server :hostcrl])

       this
      (compojure/context path [] (core/build-ring-handler handle-request))
      {:route-id :master-routes})

     (when upgrade-error-path
       (add-ring-handler
         this
         (core/construct-invalid-request-handler upgrade-error)
         {:route-id :invalid-in-puppet-4})))
   context)
  (start
    [this context]
