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

Add hostname resource from chef_hostname cookbook #6795

Merged
merged 3 commits into from Feb 19, 2018
Merged

Conversation

tas50
Copy link
Contributor

@tas50 tas50 commented Jan 26, 2018

Add in a new resource for managing hostnames

Signed-off-by: Tim Smith tsmith@chef.io

@tas50 tas50 requested a review from a team January 26, 2018 05:00
# @return [String]
def updated_ec2_config_xml
begin
require "nokogiri"
Copy link
Contributor

Choose a reason for hiding this comment

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

so nokogiri is evil and this should really be rexml

@tas50 tas50 force-pushed the hostname_resource branch 3 times, most recently from 566309c to f567ca4 Compare February 13, 2018 13:31
Add in a new resource for managing hostnames

Signed-off-by: Tim Smith <tsmith@chef.io>
Signed-off-by: Tim Smith <tsmith@chef.io>
Avoid the dep on nokogiri

Signed-off-by: Tim Smith <tsmith@chef.io>
property :hostname,
String,
description: "The hostname if different than the resource's name",
name_property: true
Copy link
Contributor

Choose a reason for hiding this comment

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

what about slightly more compactly?

property :hostname, String, name_property: true,
   description: "The hostname if different than the resource's name"

@tas50 tas50 merged commit 9a2ba65 into master Feb 19, 2018
@tas50 tas50 deleted the hostname_resource branch February 19, 2018 18:48
@lock
Copy link

lock bot commented Apr 20, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators Apr 20, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants