Skip to content

Conversation

carbonin
Copy link
Member

@carbonin carbonin commented Dec 1, 2015

Moved the old #update_entry to the private method #add_name and aliased #update_entry for backwards compatibility.

@bdunne @abellotti

Fixes #143
https://bugzilla.redhat.com/show_bug.cgi?id=1286830

@gtanzillo
Copy link
Member

👍 LGTM

@carbonin carbonin force-pushed the differentiate_between_fqdn_and_hostname_aliases branch from a13914a to e7738ef Compare December 2, 2015 20:39
@miq-bot
Copy link
Member

miq-bot commented Dec 2, 2015

Checked commit carbonin@e7738ef with ruby 1.9.3, rubocop 0.34.2, and haml-lint 0.13.0
2 files checked, 3 offenses detected

lib/linux_admin/hosts.rb

  • 🔹 - Line 51, Col 5 - Metrics/AbcSize - Assignment Branch Condition size for add_name is too high. [16.55/15]

spec/hosts_spec.rb

@carbonin
Copy link
Member Author

carbonin commented Dec 3, 2015

What do you think about this @bdunne ?

@abellotti
Copy link
Member

LGTM !!

bdunne added a commit that referenced this pull request Dec 4, 2015
…hostname_aliases

Added a method to set the canonical hostname in `/etc/hosts`
@bdunne bdunne merged commit 13cd68b into ManageIQ:master Dec 4, 2015
@carbonin carbonin deleted the differentiate_between_fqdn_and_hostname_aliases branch February 12, 2016 18:12
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.

5 participants