Skip to content

Per-server conf and add role + data bags paths to solo.rb file#33

Open
sgonyea wants to merge 10 commits into
iain:masterfrom
sgonyea:per_server_conf_and_role_data_bags_path_in_solorb
Open

Per-server conf and add role + data bags paths to solo.rb file#33
sgonyea wants to merge 10 commits into
iain:masterfrom
sgonyea:per_server_conf_and_role_data_bags_path_in_solorb

Conversation

@sgonyea

@sgonyea sgonyea commented Apr 29, 2013

Copy link
Copy Markdown

Let me know if you care to use these changes... Or what you'd like to see before merging it in.

This includes a few changes:

  • Configurations are now uploaded per-server; ie, I can now do:
  role :web, "customer1-server.foo.com", {subdomain: "customer1", db_host: "cust1db", db_user: "some-user", ...}
  role :web, "customer2-server.foo.com", {subdomain: "customer2", db_host: "cust2db", db_user: "other-user", ...}
  • The data bags / roles path can now be set in the Capfile / deploy.rb. I had issues using a role file / data bags... I'd much rather not set the run_list in Roundsman. I'd like to keep it all in a single file that belongs to chef, and have Roundsman deliver enough information for it to make a sound decision.
  • remove_procs_from_hash now uses Threequals (===) instead of .match, as I had a really bizarre issue with some Cap variables that really wasn't worth debugging. Threequals will behave the same as .match. For arguments that .match would normally throw an except over, it will simply return false.

@sgonyea

sgonyea commented Apr 29, 2013

Copy link
Copy Markdown
Author

I did a rebase.... So, hopefully it all merged cleanly.

@smasry

smasry commented Jan 8, 2014

Copy link
Copy Markdown

+1

1 similar comment
@darcy

darcy commented May 3, 2014

Copy link
Copy Markdown

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants