This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cloud-configure -h | |
/usr/lib/ruby/gems/1.8/gems/poolparty-1.2.2/bin/../lib/poolparty/poolparty/default.rb:50:in `method_missing': stack level too deep (SystemStackError) | |
from /usr/lib/ruby/gems/1.8/gems/poolparty-1.2.2/bin/../lib/poolparty/poolparty/default.rb:50:in `method_missing' | |
from /usr/lib/ruby/gems/1.8/gems/poolparty-1.2.2/bin/../lib/poolparty/provision/boot_strapper.rb:38 | |
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' | |
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' | |
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in `new_constants_in' | |
from /usr/lib/ruby/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in `require' | |
from /usr/lib/ruby/gems/1.8/gems/poolparty-1.2.2/bin/../lib/poolparty.rb:51:in `requ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pool :application do | |
instances 1 | |
keypair "~/.ec2/keypairs/app" | |
ami 'ami-7cfd1a15' | |
cloud :pp1 do | |
roles_config = { | |
:default => { | |
:role => 'db' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node[:mysql][:new_data_path] = "/var/local/mysql-data" | |
node[:mysql][:new_log_path] = "/var/local/log/mysql" | |
node[:mysql][:harden] = true | |
node[:mysql][:databases] = ["mytest", "myhello"] | |
node[:mysql][:db_users] = [ | |
{ | |
:db_user => "zrm", | |
:db_user_type => "backup", | |
:db_name => "mytest", | |
:db_password => "hello" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mysql": { | |
"databases": [ "hello", "dillo" ], | |
"harden": true, | |
"db_users": [ | |
{ | |
"db_user" : "hello", | |
"db_user_type" : "default", | |
"db_name" : "hello", | |
"db_password" : "trialsss", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
..... | |
# create a transaction which records the details of the notification | |
object.txns.create(:transaction_id => ipn.transaction_id, | |
:amount => ipn.gross, | |
:fee => ipn.fee, | |
:currency_type => ipn.currency, | |
:status => ipn.status, | |
:received_at => ipn.received_at) | |
# if ipn.acknowledge | |
ack = nil |
OlderNewer