Skip to content

Commit

Permalink
untar and guard the install of couch
Browse files Browse the repository at this point in the history
  • Loading branch information
jtimberman committed Feb 19, 2010
1 parent 116777a commit 585b113
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion couchdb/recipes/source.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@
bash "install couchdb #{node[:couch_db][:src_version]}" do
cwd Chef::Config[:file_cache_path]
code <<-EOH
./configure && make && make install
tar -zxf #{couchdb_tar_gz}
cd apache-couchdb-#{node[:couch_db][:src_version]} && ./configure && make && make install
EOH
not_if { ::FileTest.exists?("/usr/local/bin/couchdb") }
end

user "couchdb" do
Expand Down

0 comments on commit 585b113

Please sign in to comment.