Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Check if we had postgre ppa key

  • Loading branch information...
commit 16a7daa4ba30e02dd0221d1ea97a43d6c6491bba 1 parent 00d0719
Victor Castell victorcoder authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  puppet/modules/postgres/manifests/init.pp
3  puppet/modules/postgres/manifests/init.pp
View
@@ -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":
Please sign in to comment.
Something went wrong with that request. Please try again.