Skip to content

Commit

Permalink
added pgcrypto recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Ines Sombra committed Oct 10, 2011
1 parent 5e5fd18 commit 4a45d57
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cookbooks/main/recipes/default.rb
Expand Up @@ -72,8 +72,8 @@
# postgresql9_pg_freespacemap "postgres_test" - Not done
# postgresql9_pg_stat_statements"postgres_test" - Not done
# postgresql9_pg_trgm "postgres_test" - Not done
# postgresql9_pgcrypto "postgres_test" - Not done
postgresql9_pgrowlocks "postgres_test"
# postgresql9_pgcrypto "postgres_test"
# postgresql9_pgrowlocks "postgres_test"
# postgresql9_postgis "postgres_test"
# postgresql9_seg "postgres_test"
# postgresql9_tablefunc "postgres_test"
Expand Down
9 changes: 9 additions & 0 deletions cookbooks/postgresql9_contrib/definitions/pgcrypto.rb
@@ -0,0 +1,9 @@
define :postgresql9_pgcrypto do
dbname_to_use = params[:name]

load_sql_file do
db_name dbname_to_use
filename "/usr/share/postgresql-9.0/contrib/pgcrypto.sql"
end

end

0 comments on commit 4a45d57

Please sign in to comment.