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

Fixes #13910 - Auto populate env, cv on new host #5814

Merged
merged 1 commit into from Mar 7, 2016

Conversation

parthaa
Copy link
Contributor

@parthaa parthaa commented Feb 25, 2016

Adds logic to auto populate env, cv on new hosts page when a host group
is selected

@parthaa
Copy link
Contributor Author

parthaa commented Feb 25, 2016

Testing Procedure

  • Create a CV, Env
  • Go to hostgroups page and create a new host group with env, cv combination
  • Go to new hosts page
  • Fill in name, location, hostgroups field. CV and Env should get automatically repopulated by whats selected in the host group.

lifecycle_environment = lifecycle_environment(host)
lifecycle_environment = lifecycle_environment(selected_host_group) if lifecycle_environment.nil? && selected_host_group.present?
Copy link
Member

Choose a reason for hiding this comment

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

@johnpmitsch
Copy link
Contributor

This works as expected when I tested out the new hosts page 👍

@johnpmitsch
Copy link
Contributor

@parthaa looks like this was already a bug http://projects.theforeman.org/issues/12899

Adds logic to auto populate env, cv on new hosts page when a host group
is selected
@parthaa
Copy link
Contributor Author

parthaa commented Mar 4, 2016

@ehelms @johnpmitsch updated

@parthaa
Copy link
Contributor Author

parthaa commented Mar 4, 2016

@jlsherrill updated

@jlsherrill
Copy link
Member

ACK

parthaa added a commit that referenced this pull request Mar 7, 2016
Fixes #13910 - Auto populate env, cv on new host
@parthaa parthaa merged commit 9a74cc9 into Katello:master Mar 7, 2016
@parthaa parthaa deleted the new-host-vanishing-acts branch March 7, 2016 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants