Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

sgonyea
Copy link

@sgonyea sgonyea commented Apr 29, 2013

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
Copy link
Author

sgonyea commented Apr 29, 2013

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

@smasry
Copy link

smasry commented Jan 8, 2014

+1

1 similar comment
@darcy
Copy link

darcy commented May 3, 2014

+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