-
Notifications
You must be signed in to change notification settings - Fork 210
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
oc_id: email configuration #547
Comments
+1 |
The correct way to fix this will be to add these options to be configurable in chef-server.rb. The options should be added here: chef-server/omnibus/files/private-chef-cookbooks/private-chef/attributes/default.rb Lines 539 to 575 in cd2ec8d
chef-server/omnibus/files/private-chef-cookbooks/private-chef/recipes/oc_id.rb Lines 27 to 38 in cd2ec8d
Then, in your chef-server.rb you could do:
The chef-server/omnibus/files/private-chef-cookbooks/private-chef/recipes/oc_id.rb Lines 78 to 84 in cd2ec8d
The settings.local.yml should override what's in the production.yml (we're using https://github.com/railsconfig/config), so that's probably the best workaround for now, but it might also be a good idea to place the file outside of /opt and symlink it to avoid the possibility of it being wiped out on an upgrade. |
Added email_from_address and origin options to oc_id production.yml configuration to fix sending password change emails. Fixes chef#547
Added email_from_address and origin options to oc_id production.yml configuration to fix sending password change emails. Fixes chef#547 Signed-off-by: Sean Nolen <[email protected]>
I'm setting up an open source Chef 12 server with supermarket, and the password reset service from oc_id fails because the origin host is not set in the production.yml file. Additionally, the from: address is also not overridden.
I've managed to workaround the problem by creating a settings.local.yml file in
/opt/opscode/embedded/service/oc_id/config
containing the following lines:But it would be far better to have these lines included in
/var/opt/opscode/oc_id/config/production.yml
The text was updated successfully, but these errors were encountered: