     (s/validate command-processing-out converted-config)
     (assoc config :command-processing converted-config)))
 
-(defn convert-ini-map-config
-  "Given an incoming INI config map, convert it to the internal Clojure format that PuppetDB expects"
+(defn convert-config
+  "Given a `config` map (created from the user defined config), validate, default and convert it
+   to the internal Clojure format that PuppetDB expects"
   [config]
   (-> config
       configure-dbs

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



;;; Database config 

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