        (pls/convert-to-schema db-schema-out)))
 
 (defn configure-read-db
-  "Validates, defaults and converts an incoming (INI file based) read database config returns a config
-   that includes the new read-database config"
+  "Validates, defaults and converts the given `config` (i.e. created from a user provided PuppetDB config),
+   to a read database config"
   [{:keys [global read-database database] :as config}]
   (let [db-config (pls/strip-unknown-keys database-config-out
                                           (if read-database

;;; Database config 

(defn maybe-days
  "Convert the non-nil integer ot days"
  [days-int]
  (when days-int
    (time/days days-int)))

         configure-logging!
         validate-vardir
         configure-web-server
         convert-config
         configure-catalog-debugging)))


