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

refs #3272 - print new user/password after installation #116

Merged
merged 1 commit into from
Jun 30, 2014

Conversation

domcleal
Copy link
Contributor

Depends on theforeman/puppet-foreman#190.

The change to print the details all the time might be needed if we had a partial failure, but enough that the web UI works - so as not to leave the user with no idea what their credentials are.

# Foreman UI?
if module_enabled? 'foreman'
say " * <%= color('Foreman', :info) %> is running at <%= color('#{get_param('foreman','foreman_url')}', :info) %>"
say " Credentials are '<%= color('#{get_param('foreman', 'admin_user')} / #{get_param('foreman', 'admin_password')}', :info) %>'" if get_param('foreman','authentication') == true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One problem I do see is rerunning the installer to upgrade for example, but these will still only be the default parameters and the user could have changed the password.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's possible - the rake task is designed not to overwrite or change the admin user if one already exists, so it's actually an initial password. I've added the word "initial", which should clarify.

@domcleal domcleal changed the title [do not merge] refs #3272 - print new user/password after installation refs #3272 - print new user/password after installation May 14, 2014
@ekohl
Copy link
Member

ekohl commented May 14, 2014

👍 pending other patch.

@domcleal
Copy link
Contributor Author

screenshot from 2014-05-14 14 21 44

@lzap
Copy link
Member

lzap commented May 14, 2014

Nice, our installer is pure awesomness.

@dLobatog
Copy link
Member

Depends on theforeman/puppet-foreman#192 at the moment.

@GregSutcliffe
Copy link
Member

Tested, works great, 👍 will merge when the core PR goes in.

@ohadlevy
Copy link
Member

PR is merged, merge at will

@domcleal domcleal merged commit 0fcebfb into theforeman:develop Jun 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants