projects
/
chef.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add clamav to the Debian-exim group after exim is installed
[chef.git]
/
cookbooks
/
postgresql
/
libraries
/
postgresql.rb
diff --git
a/cookbooks/postgresql/libraries/postgresql.rb
b/cookbooks/postgresql/libraries/postgresql.rb
index feaa508b9c9ff5bccb5854e5694aba36bfa6085c..62188795bd3f3aa6d168e5b172bdae217533f250 100644
(file)
--- a/
cookbooks/postgresql/libraries/postgresql.rb
+++ b/
cookbooks/postgresql/libraries/postgresql.rb
@@
-12,6
+12,10
@@
module OpenStreetMap
@cluster = cluster
end
+ def version
+ @cluster.split("/").first.to_f
+ end
+
def execute(options)
# Create argument array
args = []