Skip to content
Browse files

Check if we had postgre ppa key

  • Loading branch information...
1 parent 839c82a commit ae7bebfa29f43d42be8d67b4030bb71b122ed23f @victorcoder victorcoder committed Nov 2, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −0 provizioning.gemspec
  2. +2 −1 puppet/modules/postgres/manifests/init.pp
View
4 provizioning.gemspec
@@ -17,4 +17,8 @@ Gem::Specification.new do |gem|
gem.add_dependency(%q<capistrano>, [">= 0"])
gem.add_dependency(%q<capistrano-ext>, [">= 0"])
+
+ gem.post_install_message = "This gem is being deprecated, all modules and classes are\n
+ left for legacy support.\n
+ Please use http://github.com/seasonlabs/"
end
View
3 puppet/modules/postgres/manifests/init.pp
@@ -32,7 +32,8 @@
class ubuntu {
exec {"get-postgres-apt-key":
- command => "apt-key adv --keyserver keyserver.ubuntu.com --recv 8683D8A2"
+ command => "apt-key adv --keyserver keyserver.ubuntu.com --recv 8683D8A2",
+ unless => "apt-key list | grep 8683D8A2",
}
file {"/etc/apt/sources.list.d/postgres.list":

0 comments on commit ae7bebf

Please sign in to comment.
Something went wrong with that request. Please try again.