Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
using sqlite in database.yml for a while more
  • Loading branch information
emiltin committed May 2, 2009
1 parent 4c201e2 commit 35ba75d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions config/poolparty/chef.rb
@@ -1,7 +1,7 @@
node[:apache][:dir] = "/etc/apache2"
include_recipe "apache2"
include_recipe "passenger"
include_recipe "sqlite"
#node[:apache][:dir] = "/etc/apache2"
#include_recipe "apache2"
#include_recipe "passenger"
#include_recipe "mysql"

web_app "my_app" do
docroot "/var/www/my_app/current/public"
Expand Down
16 changes: 8 additions & 8 deletions config/poolparty/clouds.rb
@@ -1,17 +1,17 @@
require "poolparty-extensions"
require "poolparty-extensions" #you must have the auser-poolparty-extensions gem installed

pool :application do
instances 1
keypair "~/.ec2/testpair"
keypair "~/.ec2/testpair" #you need to modify this to point to your EC2 key file

cloud :app do
has_package "libsqlite3-dev"
enable :mysql
has_gem_package "rails", :version => "2.3.2"
has_gem_package "sqlite3-ruby"
include_chef_recipe "sqlite"

has_file "/etc/motd", :content => "Welcome to your poolparty example instance!"
has_gem_package "mysql"

has_file "/etc/motd", :content => "Welcome to your poolparty example instance!" #login welcome message
has_exec "updatedb" #make the locate command work

#includes the git-core package, and apache and mod_rails chef recipes
has_rails_deploy "my_app" do
dir "/var/www"
Expand All @@ -25,7 +25,7 @@
templates "#{File.dirname(__FILE__)}/templates/" #will be uploaded to instances
recipe "#{File.dirname(__FILE__)}/chef.rb" #will be uploaded to instances, and run
end

end

end

0 comments on commit 35ba75d

Please sign in to comment.