   ;; This function should build up a map of variables that are allowed to
   ;; be interpolated into an upstream ezbake config file.  For now, the only one
   ;; we've had a need for is :user.
-  {:user (get-local-ezbake-var lein-project build-target :user (:name lein-project))})
+  {:user (get-local-ezbake-var lein-project :user (:name lein-project))})
 
 (defn interpolate-ezbake-config
   [ezbake-vars s]

       })))

(defn stage-all-the-things
  [build-target project template-dir project-file]
  (clean)
  (cp-template-files template-dir)
  (cp-shared-files)
  (let [lein-project (project/read project-file)
        config-files (cp-shared-config-files lein-project)
        config-files (cp-project-config-files project config-files)]
    (cp-doc-files lein-project)
    (cp-project-file project-file)

         :redhat-preinst  (quoted-list (get-preinst ezbake-vars upstream-ezbake-configs build-target :redhat))}))))

(defn generate-project-data-yaml
  [lein-project build-target]
  (println "generating project_data.yaml file")
  (spit
    (fs/file staging-dir "ext" "project_data.yaml")
