Skip to content

Commit

Permalink
Partially fix issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Tilles authored and hugoduncan committed Apr 6, 2013
1 parent 8abfb6a commit 01f499a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/pallet/crate/postgres.clj
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Links:

(def ^{:dynamic true} *pgdg-repo-versions*
{"9.0" "9.0-5"
"9.1" "9.1-4"
"9.1" "9.1-5"
"9.2" "9.2-5"})

(defn pgdg-url
Expand Down Expand Up @@ -126,7 +126,8 @@ Links:
(assoc settings
:strategy :rpm-repo
:rpm {:name "pgdg.rpm"
:url (pgdg-url (version-string version) os)}
:url (pgdg-url (version-string version)
(if (= os :rhel) "redhat" os))}
:packages (map
#(str "postgresql"
(string/replace target-version "." "")
Expand Down

0 comments on commit 01f499a

Please sign in to comment.